Skip to content

Commit 3c43339

Browse files
committed
chore: only run tsc-files on elements since there are trouble with test and story files
1 parent e4d876b commit 3c43339

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,8 @@
134134
"./packages/*"
135135
],
136136
"lint-staged": {
137-
"*.ts": [
138-
"tsc-files --project tsconfig.lint-staged.json",
139-
"eslint --cache --fix -c .eslintrc.js"
140-
],
137+
"*.ts": "eslint --cache --fix -c .eslintrc.js",
138+
"*.element.ts": "tsc-files --project tsconfig.lint-staged.json",
141139
"*": "prettier --ignore-unknown --write"
142140
},
143141
"storybook": {

0 commit comments

Comments
 (0)