lint-staged 10.4.1 → 10.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -97,8 +97,11 @@ Options:
97
97
  Starting with v3.1 you can now use different ways of configuring it:
98
98
 
99
99
  - `lint-staged` object in your `package.json`
100
- - `.lintstagedrc` file in JSON or YML format
101
- - `lint-staged.config.js` file in JS format
100
+ - `.lintstagedrc` file in JSON or YML format, or you can be explicit with the file extension:
101
+ - `.lintstagedrc.json`
102
+ - `.lintstagedrc.yaml`
103
+ - `.lintstagedrc.yml`
104
+ - `lint-staged.config.js`, `.lintstagedrc.js`, or `.lintstagedrc.cjs` file in JS format
102
105
  - Pass a configuration file using the `--config` or `-c` flag
103
106
 
104
107
  See [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) for more details on what formats are supported.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lint-staged",
3
- "version": "10.4.1",
3
+ "version": "10.4.2",
4
4
  "description": "Lint files staged by git",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/okonet/lint-staged",