Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Commit

Permalink
refactor: eslint-disable
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Hurpeau committed Feb 20, 2017
1 parent 30ea11c commit 5e4ae7d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/client/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@ import { useBasename } from 'history';
import RedBox from 'redbox-react';
import { Resolver } from 'react-resolver';

/* eslint-disable import/no-extraneous-dependencies,import/newline-after-import,import/first */
// used require instead of import, because optional default with import cause warnings
const reducers = require('__app_modules__redux_reducers__');
/* eslint-disable import/no-extraneous-dependencies */
import routes from '__app_modules__routes__';
import middlewares from '__app_modules__redux_middlewares__';
import { parse as stateParser } from '__app_modules__redux_stateSerializer__';
/* eslint-enable import/no-extraneous-dependencies, import/newline-after-import */
/* eslint-enable import/no-extraneous-dependencies */

import { create as createStore, createRootReducer } from '../shared/store';
import config from '../../config';
import App from './components/App';
/* eslint-enable import/first */

// used require instead of import, because optional default with import cause warnings
// eslint-disable-next-line import/no-extraneous-dependencies
const reducers = require('__app_modules__redux_reducers__');

function render(history, store, appRoutes, element) {
const insertCss = ({ _insertCss }) => _insertCss();
Expand Down

0 comments on commit 5e4ae7d

Please sign in to comment.