File tree 2 files changed +17
-15
lines changed 2 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 66
66
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
67
67
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
68
68
"test-api" : " node --conditions development test.js" ,
69
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
69
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
70
70
"test" : " npm run build && npm run format && npm run test-coverage"
71
71
},
72
72
"prettier" : {
73
- "tabWidth" : 2 ,
74
- "useTabs" : false ,
75
- "singleQuote" : true ,
76
73
"bracketSpacing" : false ,
77
74
"semi" : false ,
78
- "trailingComma" : " none"
79
- },
80
- "xo" : {
81
- "prettier" : true ,
82
- "rules" : {
83
- "unicorn/prefer-string-replace-all" : " off"
84
- }
75
+ "singleQuote" : true ,
76
+ "tabWidth" : 2 ,
77
+ "trailingComma" : " none" ,
78
+ "useTabs" : false
85
79
},
86
80
"remarkConfig" : {
87
81
"plugins" : [
88
- " preset-wooorm"
82
+ " remark- preset-wooorm"
89
83
]
90
84
},
91
85
"typeCoverage" : {
92
86
"atLeast" : 100 ,
93
87
"detail" : true ,
88
+ "ignoreCatch" : true ,
94
89
"strict" : true
90
+ },
91
+ "xo" : {
92
+ "prettier" : true ,
93
+ "rules" : {
94
+ "unicorn/prefer-string-replace-all" : " off"
95
+ }
95
96
}
96
97
}
Original file line number Diff line number Diff line change 1
1
{
2
- "include" : [" **/**.js" ],
3
- "exclude" : [" coverage/" , " node_modules/" ],
4
2
"compilerOptions" : {
5
3
"checkJs" : true ,
4
+ "customConditions" : [" development" ],
6
5
"declaration" : true ,
7
6
"emitDeclarationOnly" : true ,
8
7
"exactOptionalPropertyTypes" : true ,
9
8
"lib" : [" es2020" ],
10
9
"module" : " node16" ,
11
10
"strict" : true ,
12
11
"target" : " es2020"
13
- }
12
+ },
13
+ "exclude" : [" coverage/" , " node_modules/" ],
14
+ "include" : [" **/*.js" ]
14
15
}
You can’t perform that action at this time.
0 commit comments