Skip to content

Commit 7cd4118

Browse files
committed
for eslint, use .eslintrc.cli.json
1 parent 265d580 commit 7cd4118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
'*.{js,jsx,mjs,ts,tsx,mts}': [
33
'prettier --with-node-modules --ignore-path .prettierignore --write',
4-
'cross-env ESLINT_USE_FLAT_CONFIG=false eslint --fix',
4+
'cross-env ESLINT_USE_FLAT_CONFIG=false eslint --config .eslintrc.cli.json --fix',
55
],
66
'*.{json,md,mdx,css,html,yml,yaml,scss}': [
77
'prettier --with-node-modules --ignore-path .prettierignore --write',

0 commit comments

Comments
 (0)