eslint-plugin-no-autofix
Why
Some warnings is auto-fixable but we do not want to fix it, like "prefer-const" .
Install & usage
npm i eslint-plugin-no-autofix -D
add prefix "no-autofix" to the rulename in eslintrc:
{
"plugins": ["no-autofix"],
"rules": {
"no-autofix/prefer-const": "error"
}
}
Supported rules
It supports all eslint core rules.