File tree Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 49
49
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
50
50
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
51
51
"test-api" : " node --conditions development test.js" ,
52
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
52
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
53
53
"test" : " npm run build && npm run format && npm run test-coverage"
54
54
},
55
55
"prettier" : {
56
- "tabWidth" : 2 ,
57
- "useTabs" : false ,
58
- "singleQuote" : true ,
59
56
"bracketSpacing" : false ,
60
57
"semi" : false ,
61
- "trailingComma" : " none"
62
- },
63
- "xo" : {
64
- "prettier" : true ,
65
- "rules" : {
66
- "unicorn/prefer-string-replace-all" : " off"
67
- }
58
+ "singleQuote" : true ,
59
+ "tabWidth" : 2 ,
60
+ "trailingComma" : " none" ,
61
+ "useTabs" : false
68
62
},
69
63
"remarkConfig" : {
70
64
"plugins" : [
71
- " preset-wooorm"
65
+ " remark- preset-wooorm"
72
66
]
73
67
},
74
68
"typeCoverage" : {
75
69
"atLeast" : 100 ,
76
70
"detail" : true ,
71
+ "ignoreCatch" : true ,
77
72
"strict" : true
73
+ },
74
+ "xo" : {
75
+ "prettier" : true ,
76
+ "rules" : {
77
+ "unicorn/prefer-string-replace-all" : " off"
78
+ }
78
79
}
79
80
}
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