We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To reproduce, create a ~/.eslintrc file with this in it:
{ "rules": { "no-var": 2 } }
Next, checkout the latest copy of standard and run npm test. You'll see many errors and the test will fail. This seems to be a feature of eslint: http://eslint.org/docs/configuring/#configuration-cascading-and-hierarchy
standard
npm test
Note that this only affects rules that are not yet defined in rc/.eslintrc due to the layering/cascading nature. I see two possible solutions:
Maybe @nzakas knows if there is a flag to stop this behavior? I did not see one in the command line options or on the linked configuration page.
The only workaround for users would be to remove any .eslintrc files from their directory hierarchy, which is probably not acceptable.
The text was updated successfully, but these errors were encountered:
I went ahead and defined every rule, for completeness. Looks like the --no-eslintrc option would have done the trick too.
--no-eslintrc
Released as 2.5.0.
Sorry, something went wrong.
define all eslint rules
e28953f
Fixes #32
Ah cool totally missed that option! Assuming this also disables package.json stuff too? Will investigate myself :)
No branches or pull requests
To reproduce, create a ~/.eslintrc file with this in it:
Next, checkout the latest copy of
standard
and runnpm test
. You'll see many errors and the test will fail. This seems to be a feature of eslint: http://eslint.org/docs/configuring/#configuration-cascading-and-hierarchyNote that this only affects rules that are not yet defined in rc/.eslintrc due to the layering/cascading nature. I see two possible solutions:
Maybe @nzakas knows if there is a flag to stop this behavior? I did not see one in the command line options or on the linked configuration page.
The only workaround for users would be to remove any .eslintrc files from their directory hierarchy, which is probably not acceptable.
The text was updated successfully, but these errors were encountered: