File tree 2 files changed +22
-19
lines changed 2 files changed +22
-19
lines changed Original file line number Diff line number Diff line change 54
54
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
55
55
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
56
56
"test-api" : " node --conditions development test.js" ,
57
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
57
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
58
58
"test" : " npm run build && npm run format && npm run test-coverage"
59
59
},
60
60
"prettier" : {
61
- "tabWidth" : 2 ,
62
- "useTabs" : false ,
63
- "singleQuote" : true ,
64
61
"bracketSpacing" : false ,
65
62
"semi" : false ,
66
- "trailingComma" : " none"
67
- },
68
- "xo" : {
69
- "prettier" : true ,
70
- "rules" : {
71
- "unicorn/prefer-at" : " off"
72
- }
63
+ "singleQuote" : true ,
64
+ "tabWidth" : 2 ,
65
+ "trailingComma" : " none" ,
66
+ "useTabs" : false
73
67
},
74
68
"remarkConfig" : {
75
69
"plugins" : [
76
- " preset-wooorm"
70
+ " remark- preset-wooorm"
77
71
]
78
72
},
79
73
"typeCoverage" : {
80
74
"atLeast" : 100 ,
81
75
"detail" : true ,
82
- "ignoreNested" : true
76
+ "ignoreCatch" : true ,
77
+ "#" : " needed `any`s" ,
78
+ "ignoreFiles" : [
79
+ " lib/index.d.ts"
80
+ ],
81
+ "strict" : true
82
+ },
83
+ "xo" : {
84
+ "prettier" : true ,
85
+ "rules" : {
86
+ "unicorn/prefer-at" : " off"
87
+ }
83
88
}
84
89
}
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