Closed mikkopori closed 4 years ago
This means you didn't upgrade your eslint version sufficiently; run npm ls
and you'll see how your dependency graph is invalid.
Hello, thank you for your advice. It does not help, installed / upgraded to:
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
And the error is still shown.
The rule (https://eslint.org/docs/2.0.0/rules/camelcase) states that "rule accepts a single options argument" and in the "ignoreDestructuring" perhaps should be removed?
Those are the docs for eslint 2. https://eslint.org/docs/rules/camelcase are the docs for eslint 6.
What does npm ls
report? Does it exit zero?
In your OP, it's using not your project's eslint, but the Atom plugins' eslint. This is broken; the only eslint an editor plugin should use is the one installed locally in the project it's linting.
Perhaps you need an updated, or a replacement, Atom plugin?
Thank you, you were correct. On the Linter Eslint atom plugin I had set false path into "path to local node_modules" -field and therefore the eslint in the project was not used. If anyone else messes the settings up..
Thank you again!
@oless that's an invalid eslint configuration; only the last one of those would be respected if it would even work at all.
Hello,
the linter-eslint -package for Atom (ubuntu) fails with validating the "camelcase" -rule.
Downgraded to "eslint-config-airbnb": "17.1.1" to make this still work, starts failing in versions after that.
Please see screenshot for error details: https://drive.google.com/open?id=1BjGdMkZuohbPdqMNPI3-0YjeOlnIbRBx