Eslint@5.9.0 complains about specific plugins I don't know about
See original GitHub issueTell us about your environment
- ESLint Version: 5.9.0
- Node Version: 10.2.1
- npm Version: 5.6.0
What parser (default, Babel-ESLint, etc.) are you using? Default.
Please show your full configuration:
Configuration
{
"extends": "standard",
"rules": {
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"curly": ["error", "all"],
"eqeqeq": ["error", "smart"],
"no-extra-semi": "error",
"quotes": ["error", "double"],
"semi": ["error", "always"]
},
"globals": {
"DocumentFragment": true,
"fetch": true,
"HTMLElement": true,
"location": true,
"Node": true
}
}
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
npx eslint src/**
What did you expect to happen? I expected eslint would work as usual.
What actually happened? Please include the actual, raw output from ESLint.
I got this error.
Failed to load plugin ie11: Cannot find module 'eslint-plugin-ie11'
I tried to install eslint-plugin-ie11, then it complained about eslint-plugin-local-rules. When I installed it, it broke with an exception about a file in eslint-plugin-local-rules, that cannot be found.
Please note that my configuration extend standard
. I never heard about those plugins. Any help would be appreciated.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
eslint - npm
ESLint uses an AST to evaluate patterns in code. ESLint is completely pluggable, every single rule is a plugin and you can add...
Read more >eslint "parsing error: Unexpected token {" in JSX
Eslint on its own is not good enough. First install babel-eslint : npm install --save-dev babel-eslint. Or with yarn:
Read more >Working with Plugins - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >eslint/eslint - Gitter
If ESLint is installed globally, then make sure eslint-plugin-node is also installed globally. A globally-installed ESLint cannot find a locally-installed ...
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
It looks like this issue turned out to not be a problem with ESLint itself, so I’m going to close it. Feel free to create a new issue if your run into this again, and can verify that the problem is with the ESLint itself, and not with the setup.
I’ve finally understood the problem. This is the project folder structure
To solve the problem I added node_modules in eslintignore file.