Skip to content

Conversation

justin808
Copy link
Member

We get these errors after autofix.

We need to have this clean upon adding eslint.

cd client && npm run eslint -- --fix

The react/require-extension rule is deprecated. Please use the import/extensions rule from eslint-plugin-import instead. /Users/justin/shakacode/react-on-rails/tmp/test-new-redux-generation/client/app/bundles/HelloWorld/actions/helloWorldActionCreators.jsx 3:1 error Prefer default export import/prefer-default-export /Users/justin/shakacode/react-on-rails/tmp/test-new-redux-generation/client/app/bundles/HelloWorld/components/HelloWorldWidget.jsx 30:11 error Form controls using a label to identify them must be programmatically associated with the control using htmlFor jsx-a11y/label-has-for /Users/justin/shakacode/react-on-rails/tmp/test-new-redux-generation/client/app/bundles/HelloWorld/containers/HelloWorld.jsx 3:25 error Absolute imports should come before relative imports import/imports-first 4:23 error Absolute imports should come before relative imports import/imports-first 10:11 error 'otherState' is assigned a value but never used no-unused-vars 18:21 error 'updateName' is missing in props validation react/prop-types 43:1 error Line 43 exceeds the maximum line length of 100 max-len /Users/justin/shakacode/react-on-rails/tmp/test-new-redux-generation/client/app/bundles/HelloWorld/reducers/person.jsx 15:17 error 'name' is already declared in the upper scope no-shadow /Users/justin/shakacode/react-on-rails/tmp/test-new-redux-generation/client/app/bundles/HelloWorld/store/helloWorldStore.jsx 3:23 error Absolute imports should come before relative imports import/imports-first 9:29 error Absolute imports should come before relative imports import/imports-first ✖ 10 problems (10 errors, 0 warnings) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant