Skip to content

Commit

Permalink
Don't pass eslint ignored files to eslint during precommit (#2140)
Browse files Browse the repository at this point in the history
Co-authored-by: Rohan <[email protected]>
  • Loading branch information
r100-stack and r100-stack authored Jul 15, 2024
1 parent 0de31bc commit e8fc1e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/itwinui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@
"prettier --write",
"node ../../scripts/copyrightLinter.js --fix"
],
"*.{tsx,ts}": [
"eslint --max-warnings=0 --fix"
]
"!(*.test){.tsx,.ts}": "eslint --max-warnings=0 --fix"
},
"prettier": "configs/prettier-config",
"sideEffects": [
Expand Down

0 comments on commit e8fc1e7

Please sign in to comment.