Skip to content

Commit 9cfe1a3

Browse files
committed
fix: before committing, the lint-staged runs eslint --fix then eslint on *.ts
1 parent 5d6013b commit 9cfe1a3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@
121121
"*.{json,md,ts}": [
122122
"cross-env prettier --write"
123123
],
124-
"*.{ts}": [
125-
"cross-env eslint --fix"
124+
"*.ts": [
125+
"cross-env eslint --fix",
126+
"cross-env eslint"
126127
]
127128
}
128129
}

0 commit comments

Comments
 (0)