File tree Expand file tree Collapse file tree 2 files changed +26
-27
lines changed Expand file tree Collapse file tree 2 files changed +26
-27
lines changed Original file line number Diff line number Diff line change 60
60
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
61
61
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
62
62
"test-api" : " node --conditions development test/index.js" ,
63
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
63
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
64
64
"test" : " npm run build && npm run format && npm run test-coverage"
65
65
},
66
66
"prettier" : {
67
- "tabWidth" : 2 ,
68
- "useTabs" : false ,
69
- "singleQuote" : true ,
70
67
"bracketSpacing" : false ,
71
68
"semi" : false ,
72
- "trailingComma" : " none"
73
- },
74
- "xo" : {
75
- "prettier" : true ,
76
- "rules" : {
77
- "max-depth" : " off" ,
78
- "unicorn/prefer-at" : " off"
79
- },
80
- "overrides" : [
81
- {
82
- "files" : " test/**/*.js" ,
83
- "rules" : {
84
- "no-await-in-loop" : " off"
85
- }
86
- }
87
- ]
69
+ "singleQuote" : true ,
70
+ "tabWidth" : 2 ,
71
+ "trailingComma" : " none" ,
72
+ "useTabs" : false
88
73
},
89
74
"remarkConfig" : {
90
75
"plugins" : [
91
- " preset-wooorm"
76
+ " remark- preset-wooorm"
92
77
]
93
78
},
94
79
"typeCoverage" : {
95
80
"atLeast" : 100 ,
96
81
"detail" : true ,
82
+ "ignoreCatch" : true ,
97
83
"strict" : true
84
+ },
85
+ "xo" : {
86
+ "overrides" : [
87
+ {
88
+ "files" : " test/**/*.js" ,
89
+ "rules" : {
90
+ "no-await-in-loop" : " off"
91
+ }
92
+ }
93
+ ],
94
+ "prettier" : true ,
95
+ "rules" : {
96
+ "max-depth" : " off" ,
97
+ "unicorn/prefer-at" : " off"
98
+ }
98
99
}
99
100
}
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