https://github.com/hxfdarling/eslint-cache
support eslint cache, because eslint cli not support relative path cache
https://github.com/hxfdarling/eslint-cache
cache eslint eslint-cli
Last synced: 3 months ago
JSON representation
support eslint cache, because eslint cli not support relative path cache
- Host: GitHub
- URL: https://github.com/hxfdarling/eslint-cache
- Owner: hxfdarling
- Created: 2019-01-20T14:24:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-25T05:56:42.000Z (over 6 years ago)
- Last Synced: 2025-02-19T13:46:44.694Z (3 months ago)
- Topics: cache, eslint, eslint-cli
- Language: JavaScript
- Homepage:
- Size: 315 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# eslint-cache
support eslint cache, because eslint cli not support relative path cache
## useage
install `eslint-cache`
```shell
npm i -D eslint-cache
```run `eslint-cache` to check `.js,.jsx` files
```json
npx eslint-cache src lib --ext .js,.jsx
```## support options
`--ext`
which file extensions need lint`--cache-location`
set cache file path`--id`
auto clean cache by change id## help
```shell
eslint-cache -h
```