eslint-fix-later

1.2.1 • Public • Published

NPM

Github Actions

eslint-fix-later

If your lint rules are giving error, but you don't want to fix them now. There might be an easy way to mark them ignored.

That may occur once you introduce a new linting rule or adding eslint after a while. Aim is disabling errors on file level instead of globally.

Usage

Please make sure that you have all eslint configuration installed already on your project. In order to ignore the existing lint errors to be fixed later, please run eslint-fix-later with same parameters.

# fix them later
npx eslint-fix-later

Advanced Usage

If you have some other parameters while executing eslint command, you can also pass them to eslint-fix-later as well. You can also add eslint-fix-later to your package.json.

{
  "scripts": {
    "lint": "eslint . --ext .js,.json,.md",
    "lint:fix": "eslint . --ext .js,.json,.md --fix",
    "lint:fix:later": "npx eslint-fix-later . --ext .js,.json,.md"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-fix-later

Weekly Downloads

0

Version

1.2.1

License

MIT

Unpacked Size

9.13 kB

Total Files

17

Last publish

Collaborators

  • salimkayabasi