File tree Expand file tree Collapse file tree 2 files changed +21
-22
lines changed Expand file tree Collapse file tree 2 files changed +21
-22
lines changed Original file line number Diff line number Diff line change 68
68
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
69
69
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
70
70
"test-api" : " node --conditions development test/index.js" ,
71
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
71
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
72
72
"test" : " npm run generate && npm run build && npm run format && npm run test-coverage"
73
73
},
74
74
"prettier" : {
75
- "tabWidth" : 2 ,
76
- "useTabs" : false ,
77
- "singleQuote" : true ,
78
75
"bracketSpacing" : false ,
79
76
"semi" : false ,
80
- "trailingComma" : " none"
81
- },
82
- "xo" : {
83
- "prettier" : true ,
84
- "#" : " `n` is wrong" ,
85
- "rules" : {
86
- "n/file-extension-in-import" : " off" ,
87
- "unicorn/prefer-at" : " off" ,
88
- "unicorn/prefer-string-replace-all" : " off"
89
- }
77
+ "singleQuote" : true ,
78
+ "tabWidth" : 2 ,
79
+ "trailingComma" : " none" ,
80
+ "useTabs" : false
90
81
},
91
82
"remarkConfig" : {
92
83
"plugins" : [
96
87
"typeCoverage" : {
97
88
"atLeast" : 100 ,
98
89
"detail" : true ,
99
- "strict " : true ,
90
+ "ignoreCatch " : true ,
100
91
"ignoreFiles" : [
101
92
" example/**/*.js"
102
- ]
93
+ ],
94
+ "strict" : true
95
+ },
96
+ "xo" : {
97
+ "prettier" : true ,
98
+ "#" : " `n` is wrong" ,
99
+ "rules" : {
100
+ "n/file-extension-in-import" : " off" ,
101
+ "unicorn/prefer-at" : " off" ,
102
+ "unicorn/prefer-string-replace-all" : " off"
103
+ }
103
104
}
104
105
}
Original file line number Diff line number Diff line change 1
1
{
2
- "include" : [" **/**.js" , " lib/components.d.ts" ],
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" , " lib/components.d.ts" ]
17
15
}
You can’t perform that action at this time.
0 commit comments