Skip to content

Commit abde6aa

Browse files
committed
lint-staged settings
1 parent a5a999f commit abde6aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"scripts": {
1111
"prepare": "husky install",
12-
"format": "prettier --check ./**/*.ts",
12+
"format": "prettier --check ./**/*.[jt]s",
1313
"lint": "eslint .",
1414
"test": "mocha",
1515
"test:watch": "mocha --watch --reporter min"
@@ -33,11 +33,11 @@
3333
},
3434
"homepage": "https://github.com/jay-es/eslint-plugin-vue-sort-components#readme",
3535
"lint-staged": {
36-
"*.js": [
36+
"*.[jt]s": [
3737
"prettier --check",
38-
"eslint",
39-
"mocha"
40-
]
38+
"eslint"
39+
],
40+
"*.ts": "mocha"
4141
},
4242
"dependencies": {
4343
"natural-compare": "^1.4.0"

0 commit comments

Comments
 (0)