Skip to content

Commit 518868d

Browse files
committed
config(npm): add TS files to lint task
1 parent 4dd0afa commit 518868d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"watch": "cross-env WEBPACK_PATH=test NODE_ENV=production webpack --watch -p --mode production --env production",
1111
"test": "npm run lint && npm run build && npm run karma",
1212
"karma": "cross-env WEBPACK_PATH=test karma start ./src/test/karma.config.js",
13-
"lint": "cross-env WEBPACK_PATH=test eslint --fix \"**/*.*{js,jsx}\" --ignore-pattern \"build/**/*\"",
13+
"lint": "cross-env WEBPACK_PATH=test eslint --fix \"**/*.*{js,jsx,ts,tsx}\" --ignore-pattern \"build/**/*\"",
1414
"format": "prettier **/*.{css,scss,md,json} --write"
1515
},
1616
"homepage": "https://github.com/stackr23",

0 commit comments

Comments
 (0)