Configuration for rule "import/no-extraneous-dependencies" is invalid
See original GitHub issueHi there,
Got this error when using in Atom and https://github.com/AtomLinter/linter-eslint
"eslint": "2.10.2",
"eslint-import-resolver-webpack": "0.2.5",
"eslint-plugin-import": "1.8.1",
"eslint-config-airbnb": "9.0.1",
"eslint-config-airbnb-base": "3.0.1",
"eslint-plugin-react": "5.1.1",
"eslint-plugin-jsx-a11y": "1.2.2",
When I delete that config in index.js, the error goes away and a new one appears.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
Why (and How Can I FIx) ESLint import/no-extraneous ...
I solved it simply by setting devDependencies to true. By default it is false. "import/no ...
Read more >eslint-plugin-import/no-extraneous-dependencies.md at main
Forbid the import of external modules that are not declared in the package.json 's dependencies , devDependencies , optionalDependencies , peerDependencies , or ......
Read more >A Guide to ESLint | Laurie on Tech
While this is helpful, some rules need to get more specific. For example, ESLint has a rule called import/no-extraneous-dependencies . The goal ...
Read more >eslint-plugin-import - npm
Start using eslint-plugin-import in your project by running `npm i ... Forbid the use of extraneous packages ( no-extraneous-dependencies ) ...
Read more >eslint/eslint - Gitter
It may be interesting to add a rule for that case (if something doesn't exist) :) ... Run 'npm i -S assert' to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Uninstalling the global eslint worked, thanks!
@aleccool213 please reopen if this doesn’t solve your issue.