Skip to content

ESLint React Errors #68

Discussion options

You must be logged in to vote

@MaheshkumarSundaram it sounds like the version of ESLint you are running isn't using the .eslintrc config in the repo, as I have both react/forbid-prop-types & react/destructuring-assignment turned off.

I use npm run lint, which will use the version the repo requires in package.json. It's also run when npm run test is used. I use Travis CI (can see the build history here) to help make sure I don't break anything.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MaheshkumarSundaram
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
good first issue Good for newcomers
2 participants