eslint-files
Advanced tools
Comparing version 0.0.1-3 to 1.0.0
{ | ||
"name": "eslint-files", | ||
"version": "0.0.1-3", | ||
"version": "1.0.0", | ||
"description": "Remove all files ESLint ignores", | ||
@@ -62,4 +62,4 @@ "keywords": [ | ||
"peerDependencies": { | ||
"eslint": ">7.0.0" | ||
"eslint": ">=7.0.0" | ||
} | ||
} |
# eslint-files | ||
Use this for your lint-staged setup: | ||
Created for use together with [lint-staged][lint-staged], removes all files ESLint ignores. | ||
_`lint-staged.config.js`_: | ||
## Installation | ||
This module is distributed via [npm][npm] which is bundled with [node][node] and | ||
should be installed as one of your project's `devDependencies`: | ||
``` | ||
npm install --save-dev eslint-files | ||
``` | ||
or | ||
for installation via [yarn][yarn] | ||
``` | ||
yarn add --dev eslint-files | ||
``` | ||
This library has a `peerDependencies` listing for `eslint@>=7.0.0`. | ||
## Example | ||
```js | ||
// lint-staged.config.js | ||
const { eslintFiles } = require("eslint-files"); | ||
@@ -15,1 +35,6 @@ | ||
``` | ||
[lint-staged]: https://github.com/okonet/lint-staged | ||
[npm]: https://www.npmjs.com/ | ||
[yarn]: https://classic.yarnpkg.com | ||
[node]: https://nodejs.org |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4926
0
40