eslint-plugin-no-autofix

eslint rules without fixer.

MIT 15 个版本
安装
npm install eslint-plugin-no-autofix
yarn add eslint-plugin-no-autofix
pnpm add eslint-plugin-no-autofix
bun add eslint-plugin-no-autofix
README

build status dependency status

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 # for npm
$ yarn add eslint-plugin-no-autofix -D # for yarn

add prefix "no-autofix/" to the rulename in eslintrc:

{
  "plugins": ["no-autofix"],
  "rules": {
    "prefer-const": "off",
    "no-autofix/prefer-const": "error",
  }
}

or a 3rd-party plugin:

{
  "plugins": ["no-autofix", "react"],
  "rules": {
    "react/jsx-indent": "off",
    "no-autofix/react/jsx-indent": "error",
  }
}

Supported rules

It supports all eslint core rules and 3rd-party plugins.

Acknowledgement

版本列表
2.1.0 2024-09-02
2.0.0 2024-05-02
1.2.3 2021-11-03
1.2.2 2021-11-03
1.2.1 2021-11-03
1.2.0 2021-11-02
1.1.2 2021-04-23
1.1.1 2021-04-22
1.1.0 2021-04-19
1.0.2 2020-12-09
1.0.1 2020-02-14
1.0.0 2020-02-13
0.0.3 2019-06-24
0.0.2 2019-03-09
0.0.1 2019-02-12