File tree 2 files changed +26
-27
lines changed
2 files changed +26
-27
lines changed Original file line number Diff line number Diff line change 70
70
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
71
71
"format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
72
72
"test-api" : " node --conditions development test/index.js" ,
73
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
73
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
74
74
"test" : " npm run build && npm run format && npm run test-coverage"
75
75
},
76
76
"prettier" : {
77
- "tabWidth" : 2 ,
78
- "useTabs" : false ,
79
- "singleQuote" : true ,
80
77
"bracketSpacing" : false ,
81
78
"semi" : false ,
82
- "trailingComma" : " none"
79
+ "singleQuote" : true ,
80
+ "tabWidth" : 2 ,
81
+ "trailingComma" : " none" ,
82
+ "useTabs" : false
83
+ },
84
+ "remarkConfig" : {
85
+ "plugins" : [
86
+ " remark-preset-wooorm"
87
+ ]
88
+ },
89
+ "typeCoverage" : {
90
+ "atLeast" : 100 ,
91
+ "detail" : true ,
92
+ "ignoreCatch" : true ,
93
+ "strict" : true
83
94
},
84
95
"xo" : {
85
- "prettier" : true ,
86
- "rules" : {
87
- "max-params" : " off"
88
- },
89
96
"overrides" : [
90
97
{
91
98
"files" : [
92
99
" test/**/*.js"
93
100
],
94
101
"rules" : {
95
- "no-await-in-loop" : 0
102
+ "no-await-in-loop" : " off "
96
103
}
97
104
}
98
- ]
99
- },
100
- "remarkConfig" : {
101
- "plugins" : [
102
- " preset-wooorm"
103
- ]
104
- },
105
- "typeCoverage" : {
106
- "atLeast" : 100 ,
107
- "detail" : true ,
108
- "strict" : true
105
+ ],
106
+ "rules" : {
107
+ "max-params" : " off"
108
+ },
109
+ "prettier" : true
109
110
}
110
111
}
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