File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 31
31
run : npm run format
32
32
- name : Test
33
33
run : npm run test
34
+ - name : Type Check
35
+ run : npm run type-check
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ "*.[jt]s" : [ "prettier --check" , "eslint" ] ,
3
+ "*.ts" : [ ( ) => "npm run type-check" , "mocha" ] ,
4
+ } ;
Original file line number Diff line number Diff line change 14
14
"format" : " prettier --check ./**/*.[jt]s" ,
15
15
"lint" : " eslint ." ,
16
16
"test" : " mocha" ,
17
- "test:watch" : " mocha --watch --reporter min"
17
+ "test:watch" : " mocha --watch --reporter min" ,
18
+ "type-check" : " tsc --noEmit"
18
19
},
19
20
"repository" : {
20
21
"type" : " git" ,
34
35
"url" : " https://github.com/jay-es/eslint-plugin-vue-sort-components/issues"
35
36
},
36
37
"homepage" : " https://github.com/jay-es/eslint-plugin-vue-sort-components#readme" ,
37
- "lint-staged" : {
38
- "*.[jt]s" : [
39
- " prettier --check" ,
40
- " eslint"
41
- ],
42
- "*.ts" : " mocha"
43
- },
44
38
"dependencies" : {
45
39
"natural-compare" : " ^1.4.0"
46
40
},
You can’t perform that action at this time.
0 commit comments