eslint-cache

support eslint cache, because eslint cli not support relative path cache

Usage no npm install needed!

<script type="module">
  import eslintCache from 'https://cdn.skypack.dev/eslint-cache';
</script>

README

eslint-cache

support eslint cache, because eslint cli not support relative path cache

useage

install eslint-cache

npm i -D eslint-cache

run eslint-cache to check .js,.jsx files

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

eslint-cache -h