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