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