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