File tree Expand file tree Collapse file tree 2 files changed +29
-29
lines changed Expand file tree Collapse file tree 2 files changed +29
-29
lines changed Original file line number Diff line number Diff line change 78
78
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
79
79
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
80
80
"test-api" : " node --conditions development test/index.js" ,
81
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
81
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
82
82
"test" : " npm run build && npm run format && npm run test-coverage"
83
83
},
84
84
"prettier" : {
85
- "tabWidth" : 2 ,
86
- "useTabs" : false ,
87
- "singleQuote" : true ,
88
85
"bracketSpacing" : false ,
89
86
"semi" : false ,
90
- "trailingComma" : " none"
91
- },
92
- "xo" : {
93
- "prettier" : true ,
94
- "rules" : {
95
- "max-depth" : " off" ,
96
- "unicorn/prefer-at" : " off" ,
97
- "unicorn/prefer-string-replace-all" : " off"
98
- },
99
- "overrides" : [
100
- {
101
- "files" : " test/**/*.js" ,
102
- "rules" : {
103
- "no-await-in-loop" : 0
104
- }
105
- }
106
- ]
87
+ "singleQuote" : true ,
88
+ "tabWidth" : 2 ,
89
+ "trailingComma" : " none" ,
90
+ "useTabs" : false
107
91
},
108
92
"remarkConfig" : {
109
93
"plugins" : [
117
101
"typeCoverage" : {
118
102
"atLeast" : 100 ,
119
103
"detail" : true ,
120
- "strict " : true ,
104
+ "# " : " needed `any`s " ,
121
105
"ignoreFiles" : [
122
106
" lib/types.d.ts"
123
- ]
107
+ ],
108
+ "ignoreCatch" : true ,
109
+ "strict" : true
110
+ },
111
+ "xo" : {
112
+ "overrides" : [
113
+ {
114
+ "files" : " test/**/*.js" ,
115
+ "rules" : {
116
+ "no-await-in-loop" : 0
117
+ }
118
+ }
119
+ ],
120
+ "prettier" : true ,
121
+ "rules" : {
122
+ "max-depth" : " off" ,
123
+ "unicorn/prefer-at" : " off" ,
124
+ "unicorn/prefer-string-replace-all" : " off"
125
+ }
124
126
}
125
127
}
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