File tree 2 files changed +14
-15
lines changed
2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 63
63
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
64
64
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
65
65
"test-api" : " node --conditions development test.js" ,
66
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
66
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
67
67
"test" : " npm run build && npm run format && npm run test-coverage"
68
68
},
69
69
"prettier" : {
70
- "tabWidth" : 2 ,
71
- "useTabs" : false ,
72
- "singleQuote" : true ,
73
70
"bracketSpacing" : false ,
74
71
"semi" : false ,
75
- "trailingComma " : " none "
76
- } ,
77
- "xo " : {
78
- "prettier " : true
72
+ "singleQuote " : true ,
73
+ "tabWidth" : 2 ,
74
+ "trailingComma " : " none " ,
75
+ "useTabs " : false
79
76
},
80
77
"remarkConfig" : {
81
78
"plugins" : [
82
- " preset-wooorm"
79
+ " remark- preset-wooorm"
83
80
]
84
81
},
85
82
"typeCoverage" : {
86
83
"atLeast" : 100 ,
87
84
"detail" : true ,
85
+ "ignoreCatch" : true ,
88
86
"strict" : true
87
+ },
88
+ "xo" : {
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