Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salimkayabasi/eslint-fix-later
https://github.com/salimkayabasi/eslint-fix-later
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/salimkayabasi/eslint-fix-later
- Owner: salimkayabasi
- Created: 2021-10-26T11:32:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T22:20:18.000Z (about 2 years ago)
- Last Synced: 2024-09-15T18:15:39.329Z (2 months ago)
- Language: JavaScript
- Size: 261 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![NPM](https://nodei.co/npm/eslint-fix-later.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/eslint-fix-later)
![Github Actions](https://github.com/salimkayabasi/eslint-fix-later/actions/workflows/release.yml/badge.svg)
# 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.```shell
# 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`.```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"
}
}
```