File tree Expand file tree Collapse file tree 2 files changed +25
-26
lines changed Expand file tree Collapse file tree 2 files changed +25
-26
lines changed Original file line number Diff line number Diff line change 68
68
"build" : " tsc --build --clean && tsc --build && tsd && 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" ,
72
- "test" : " npm run generate && npm run build && npm run format && npm run test-coverage"
71
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
72
+ "test" : " 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
- "rules" : {
85
- "n/file-extension-in-import" : " off"
86
- }
77
+ "singleQuote" : true ,
78
+ "tabWidth" : 2 ,
79
+ "trailingComma" : " none" ,
80
+ "useTabs" : false
87
81
},
88
82
"remarkConfig" : {
89
83
"plugins" : [
90
- " preset-wooorm"
84
+ " remark- preset-wooorm"
91
85
]
92
86
},
93
87
"typeCoverage" : {
94
88
"atLeast" : 100 ,
95
89
"detail" : true ,
90
+ "ignoreCatch" : true ,
96
91
"strict" : true
92
+ },
93
+ "xo" : {
94
+ "prettier" : true ,
95
+ "rules" : {
96
+ "n/file-extension-in-import" : " off"
97
+ }
97
98
}
98
99
}
Original file line number Diff line number Diff line change 1
1
{
2
- "include" : [" **/**.js" , " **/**.jsx" ],
3
- "exclude" : [
4
- " coverage/" ,
5
- " node_modules/" ,
6
- " lib/jsx-automatic.js" ,
7
- " lib/jsx-classic.js"
8
- ],
9
2
"compilerOptions" : {
10
3
"checkJs" : true ,
4
+ "customConditions" : [" development" ],
11
5
"declaration" : true ,
12
6
"emitDeclarationOnly" : true ,
13
7
"exactOptionalPropertyTypes" : true ,
14
- "forceConsistentCasingInFileNames " : true ,
8
+ "jsx " : " preserve " ,
15
9
"lib" : [" es2020" ],
16
10
"module" : " node16" ,
17
- "newLine" : " lf" ,
18
- "skipLibCheck" : true ,
19
11
"strict" : true ,
20
- "target" : " es2020" ,
21
- "jsx" : " preserve"
22
- }
12
+ "target" : " es2020"
13
+ },
14
+ "exclude" : [
15
+ " coverage/" ,
16
+ " node_modules/" ,
17
+ " lib/jsx-automatic.js" ,
18
+ " lib/jsx-classic.js"
19
+ ],
20
+ "include" : [" **/*.js" , " **/*.jsx" ]
23
21
}
You can’t perform that action at this time.
0 commit comments