File tree Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Expand file tree Collapse file tree 2 files changed +14
-15
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
58
+ "singleQuote " : true ,
59
+ "tabWidth" : 2 ,
60
+ "trailingComma " : " none " ,
61
+ "useTabs " : false
65
62
},
66
63
"remarkConfig" : {
67
64
"plugins" : [
68
- " preset-wooorm"
65
+ " remark- preset-wooorm"
69
66
]
70
67
},
71
68
"typeCoverage" : {
72
69
"atLeast" : 100 ,
73
70
"detail" : true ,
71
+ "ignoreCatch" : true ,
74
72
"strict" : true
73
+ },
74
+ "xo" : {
75
+ "prettier" : true
75
76
}
76
77
}
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