I'm using ESLint in vscode with option "eslint.autoFixOnSave": true
.
Basically, I want:
- Ignore 1 particular rule for fixing: prefer-const
- See all the warnings and errors highlighted in editor (including
prefer-const
)
I'm using ESLint in vscode with option "eslint.autoFixOnSave": true
.
Basically, I want:
prefer-const
)There seems to be a new plugin: eslint-plugin-no-autofix
{
"plugins": ["no-autofix"],
"rules": {
"prefer-const": "off",
"no-autofix/prefer-const": "warn",
}
}