File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change 57
57
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
58
58
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
59
59
"test-api" : " node --conditions development test.js" ,
60
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
60
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
61
61
"test" : " npm run build && npm run format && npm run test-coverage"
62
62
},
63
63
"prettier" : {
64
- "tabWidth" : 2 ,
65
- "useTabs" : false ,
66
- "singleQuote" : true ,
67
64
"bracketSpacing" : false ,
68
65
"semi" : false ,
69
- "trailingComma" : " none"
70
- },
71
- "xo" : {
72
- "prettier" : true ,
73
- "overrides" : [
74
- {
75
- "files" : [
76
- " test.js"
77
- ],
78
- "rules" : {
79
- "no-await-in-loop" : 0 ,
80
- "no-script-url" : 0
81
- }
82
- }
83
- ]
66
+ "singleQuote" : true ,
67
+ "tabWidth" : 2 ,
68
+ "trailingComma" : " none" ,
69
+ "useTabs" : false
84
70
},
85
71
"remarkConfig" : {
86
72
"plugins" : [
87
- " preset-wooorm"
73
+ " remark- preset-wooorm"
88
74
]
89
75
},
90
76
"typeCoverage" : {
91
77
"atLeast" : 100 ,
92
78
"detail" : true ,
93
- "strict" : true ,
94
79
"ignoreCatch" : true ,
95
80
"#" : " Couple of needed `any`s" ,
96
81
"ignoreFiles" : [
97
82
" lib/index.d.ts"
98
- ]
83
+ ],
84
+ "strict" : true
85
+ },
86
+ "xo" : {
87
+ "overrides" : [
88
+ {
89
+ "files" : [
90
+ " test.js"
91
+ ],
92
+ "rules" : {
93
+ "no-await-in-loop" : 0 ,
94
+ "no-script-url" : 0
95
+ }
96
+ }
97
+ ],
98
+ "prettier" : true
99
99
}
100
100
}
You can’t perform that action at this time.
0 commit comments