File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -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.
You can’t perform that action at this time.
0 commit comments