question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configuration for rule "import/no-extraneous-dependencies" is invalid

See original GitHub issue

Hi 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",
config_error

When I delete that config in index.js, the error goes away and a new one appears.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8

github_iconTop GitHub Comments

5reactions
wdhortoncommented, Jun 2, 2016

Uninstalling the global eslint worked, thanks!

0reactions
ljharbcommented, Jun 2, 2016

@aleccool213 please reopen if this doesn’t solve your issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found