Fix(lint): Add import eslint and fix import errors
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { Observable } from 'rx';
|
||||
/* eslint-disable import/no-unresolved */
|
||||
import loopProtect from 'loop-protect';
|
||||
/* eslint-enable import/no-unresolved */
|
||||
|
||||
import { updateContents } from '../../common/utils/polyvinyl';
|
||||
|
||||
|
@@ -1,5 +1,7 @@
|
||||
import Rx, { Observable, Subject } from 'rx';
|
||||
/* eslint-disable import/no-unresolved */
|
||||
import loopProtect from 'loop-protect';
|
||||
/* eslint-enable import/no-unresolved */
|
||||
import types from '../../common/app/routes/challenges/redux/types';
|
||||
import {
|
||||
updateOutput,
|
||||
|
@@ -1,5 +1,6 @@
|
||||
import { hardGoTo } from '../../common/app/redux/types';
|
||||
import types from '../../common/app/redux/types';
|
||||
|
||||
const { hardGoTo } = types;
|
||||
export default function hardGoToSaga(action$, getState, { history }) {
|
||||
return action$
|
||||
.filter(({ type }) => type === hardGoTo)
|
||||
|
@@ -1,7 +1,8 @@
|
||||
import { Observable } from 'rx';
|
||||
import { initWindowHeight } from '../../common/app/redux/types';
|
||||
import types from '../../common/app/redux/types';
|
||||
import { updateWindowHeight } from '../../common/app/redux/actions';
|
||||
|
||||
const { initWindowHeight } = types;
|
||||
function getWindowSize(document, window) {
|
||||
const body = document.getElementsByTagName('body')[0];
|
||||
return window.innerHeight ||
|
||||
|
Reference in New Issue
Block a user