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 58
58
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
59
59
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
60
60
"test-api" : " node --conditions development test.js" ,
61
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
61
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
62
62
"test" : " npm run build && npm run format && npm run test-coverage"
63
63
},
64
64
"prettier" : {
65
- "tabWidth" : 2 ,
66
- "useTabs" : false ,
67
- "singleQuote" : true ,
68
65
"bracketSpacing" : false ,
69
66
"semi" : false ,
70
- "trailingComma" : " none"
71
- },
72
- "xo" : {
73
- "prettier" : true ,
74
- "rules" : {
75
- "unicorn/prefer-at" : " off" ,
76
- "unicorn/prefer-code-point" : " off"
77
- }
67
+ "singleQuote" : true ,
68
+ "tabWidth" : 2 ,
69
+ "trailingComma" : " none" ,
70
+ "useTabs" : false
78
71
},
79
72
"remarkConfig" : {
80
73
"plugins" : [
81
- " preset-wooorm"
74
+ " remark- preset-wooorm"
82
75
]
83
76
},
84
77
"typeCoverage" : {
85
78
"atLeast" : 100 ,
86
79
"detail" : true ,
80
+ "ignoreCatch" : true ,
87
81
"strict" : true
82
+ },
83
+ "xo" : {
84
+ "prettier" : true ,
85
+ "rules" : {
86
+ "unicorn/prefer-at" : " off" ,
87
+ "unicorn/prefer-code-point" : " off"
88
+ }
88
89
}
89
90
}
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