Skip to content

Commit ca39752

Browse files
damiantimneutkens
authored andcommitted
Remove unnecessary check for files to be linted and combine ts & tsx lint staged command (#6145)
1 parent 22a57e4 commit ca39752

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,8 @@
3232
"standard --fix",
3333
"git add"
3434
],
35-
"*.ts": [
36-
"tslint -c tslint.json 'packages/**/*.ts' --fix",
37-
"git add"
38-
],
39-
"*.tsx": [
40-
"tslint -c tslint.json 'packages/**/*.ts' --fix",
35+
"*.{ts,tsx}": [
36+
"tslint -c tslint.json --fix",
4137
"git add"
4238
],
4339
"packages/**/bin/*": [

0 commit comments

Comments
 (0)