Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36e7e58 commit 78782f9Copy full SHA for 78782f9
‎README.md‎
@@ -97,8 +97,11 @@ Options:
97
Starting with v3.1 you can now use different ways of configuring it:
98
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
+- `.lintstagedrc` file in JSON or YML format, or you can be explicit with the file extension:
+ - `.lintstagedrc.json`
102
+ - `.lintstagedrc.yaml`
103
+ - `.lintstagedrc.yml`
104
+- `lint-staged.config.js`, `.lintstagedrc.js`, or `.lintstagedrc.cjs` file in JS format
105
- Pass a configuration file using the `--config` or `-c` flag
106
107
See [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) for more details on what formats are supported.
0 commit comments