Plugins array makes ESLint do nothing at all
See original GitHub issueTell us about your environment
- ESLint Version: 5.1.0
- Prettier Version: 1.13.7
- Node Version: 9.9.0
- npm Version: 6.0.0
What parser (default, Babel-ESLint, etc.) are you using? Babel
Please show your full configuration:
Configuration
{
"extends":
[
"airbnb-base",
"prettier"
],
"rules": {
"linebreak-style": 0,
"no-param-reassign": 0,
"no-use-before-define": [
"warn",
{
"functions": false,
"classes": true,
"variables": true
}
]
},
"env": {
"browser": true,
"node": true,
"jasmine": true
},
"globals": {
"gapi": true,
"$": true
},
"parserOptions": {
"ecmaVersion": 6
}
}
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
I was following a tutorial which added the code below, but this seems to break ESLint for me. ESLint does not do anything if I add this line. The tutorial I was following was on prettier@v0.22.0
and eslint@v3.18.0
so I am not sure if this is deprecated or a bug, because I’m having trouble finding it in the documentation.
"plugins": [
"prettier"
],
Paste the command you used to run ESLint:
VSCode extension
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
ESLint fails to load plugins when using ESLint 6.x #696 - GitHub
I'm using TypeScript + Yarn workspaces + Lerna and have all the plugins installed locally and globally . Failed to load plugin prettier:...
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 not working in VS Code? - Stack Overflow
If ESLint is running in the terminal but not inside VSCode, it is probably because the extension is unable to detect both the...
Read more >12 essential ESLint rules for React - LogRocket Blog
In this post, we'll go over these ESLint rules and plugins, ... By default, custom Hooks with dependency arrays will not be checked...
Read more >ESLint Plugin TypeScript
Name ✓ 🔒 🔧 💭
@typescript‑eslint/adjacent‑overload‑signatures ✓
@typescript‑eslint/array‑type 🔒 🔧
@typescript‑eslint/await‑thenable ✓ 💭
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 Free
Top 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
I forgot to install eslint-plugin-prettier.
I was following a tutorial and I must have missed that step. I assumed it would work because I had already installed Prettier and I was not getting any errors for missing packages.
Thanks for the update @EddyVinck.
Curious to know what was missed, in case others might find this issue in future. Mind sharing?