epn
eslint-plugin-no-autofix
npm i eslint-plugin-no-autofix
epn

eslint-plugin-no-autofix

autofix some errors reported by eslint rules.

by 唯然

1.2.3 (see all)License:MITTypeScript:Not Found
npm i 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(except for scoped packages).

Acknowledgement

Downloads/wk

14.2K

GitHub Stars

72

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

6

OPEN ISSUES

8

OPEN PRs

0
VersionTagPublished
1.2.3
latest
1yr ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate