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