Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
Fix small linting errors and add docs to eslintignore
  • Loading branch information
flut1 committed Dec 19, 2018
1 parent 4064fb6 commit 254f3a1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
lib
docs
1 change: 0 additions & 1 deletion scripts/generate-errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import SimpleInitTestComponent from '../tests/fixtures/SimpleInitTestComponent';
import IsomorphicTestEnvironment from '../tests/IsomorphicTestEnvironment';
import initReducer from '../src/reducer';
import prepareComponent from '../src/actions/prepareComponent';
import PrepareValidationError from '../src/PrepareValidationError';

function errorPrepareExpectedProp() {
clearComponentIds();
Expand Down
2 changes: 0 additions & 2 deletions src/actions/prepareComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ export default (Component, props = {}) => (dispatch, getState) => {
const {
componentId,
initProps,
initAction,
initActionClient,
options: { getInitState, getPrepareKey },
} = Component.initConfig;

Expand Down

0 comments on commit 254f3a1

Please sign in to comment.