File tree 2 files changed +22
-23
lines changed
2 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 55
55
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
56
56
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
57
57
"test-api" : " node --conditions development test/index.js" ,
58
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
58
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
59
59
"test" : " npm run build && npm run format && npm run test-coverage"
60
60
},
61
61
"prettier" : {
62
- "tabWidth" : 2 ,
63
- "useTabs" : false ,
64
- "singleQuote" : true ,
65
62
"bracketSpacing" : false ,
66
63
"semi" : false ,
67
- "trailingComma" : " none"
68
- },
69
- "xo" : {
70
- "prettier" : true ,
71
- "overrides" : [
72
- {
73
- "files" : " test/**/*.js" ,
74
- "rules" : {
75
- "no-await-in-loop" : 0
76
- }
77
- }
78
- ]
64
+ "singleQuote" : true ,
65
+ "tabWidth" : 2 ,
66
+ "trailingComma" : " none" ,
67
+ "useTabs" : false
79
68
},
80
69
"remarkConfig" : {
81
70
"plugins" : [
82
- " preset-wooorm"
71
+ " remark- preset-wooorm"
83
72
]
84
73
},
85
74
"typeCoverage" : {
86
75
"atLeast" : 100 ,
87
76
"detail" : true ,
77
+ "ignoreCatch" : true ,
88
78
"strict" : true
79
+ },
80
+ "xo" : {
81
+ "overrides" : [
82
+ {
83
+ "files" : " test/**/*.js" ,
84
+ "rules" : {
85
+ "no-await-in-loop" : " off"
86
+ }
87
+ }
88
+ ],
89
+ "prettier" : true
89
90
}
90
91
}
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