File tree 2 files changed +19
-21
lines changed 2 files changed +19
-21
lines changed Original file line number Diff line number Diff line change 88
88
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
89
89
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
90
90
"test-api" : " node --conditions development test.js" ,
91
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
91
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
92
92
"test" : " npm run build && npm run format && npm run test-coverage"
93
93
},
94
94
"prettier" : {
95
- "tabWidth" : 2 ,
96
- "useTabs" : false ,
97
- "singleQuote" : true ,
98
95
"bracketSpacing" : false ,
99
96
"semi" : false ,
100
- "trailingComma" : " none"
101
- },
102
- "xo" : {
103
- "prettier" : true ,
104
- "rules" : {
105
- "unicorn/prefer-code-point" : " off" ,
106
- "unicorn/prefer-string-replace-all" : " off"
107
- }
97
+ "singleQuote" : true ,
98
+ "tabWidth" : 2 ,
99
+ "trailingComma" : " none" ,
100
+ "useTabs" : false
108
101
},
109
102
"remarkConfig" : {
110
103
"plugins" : [
111
- " preset-wooorm"
104
+ " remark- preset-wooorm"
112
105
]
113
106
},
114
107
"typeCoverage" : {
115
108
"atLeast" : 100 ,
116
109
"detail" : true ,
117
- "strict" : true ,
118
110
"ignoreCatch" : true ,
119
111
"#" : " needed any" ,
120
112
"ignoreFiles" : [
121
113
" lib/state.d.ts" ,
122
114
" lib/state.js"
123
- ]
115
+ ],
116
+ "strict" : true
117
+ },
118
+ "xo" : {
119
+ "prettier" : true ,
120
+ "rules" : {
121
+ "unicorn/prefer-code-point" : " off" ,
122
+ "unicorn/prefer-string-replace-all" : " off"
123
+ }
124
124
}
125
125
}
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