File tree Expand file tree Collapse file tree 2 files changed +22
-23
lines changed
Expand file tree Collapse file tree 2 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 8686 "generate" : " node script/generate-jsx.js && node script/build.js" ,
8787 "format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
8888 "test-api" : " node --conditions development test/index.js" ,
89- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
90- "test" : " npm run build && npm run generate && npm run format && npm run test-coverage"
89+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
90+ "test" : " npm run build && npm run format && npm run test-coverage"
9191 },
9292 "prettier" : {
93- "tabWidth" : 2 ,
94- "useTabs" : false ,
95- "singleQuote" : true ,
9693 "bracketSpacing" : false ,
9794 "semi" : false ,
98- "trailingComma " : " none "
99- } ,
100- "xo " : {
101- "prettier " : true
95+ "singleQuote " : true ,
96+ "tabWidth" : 2 ,
97+ "trailingComma " : " none " ,
98+ "useTabs " : false
10299 },
103100 "remarkConfig" : {
104101 "plugins" : [
105- " preset-wooorm"
102+ " remark- preset-wooorm"
106103 ]
107104 },
108105 "typeCoverage" : {
109106 "atLeast" : 100 ,
110107 "detail" : true ,
108+ "ignoreCatch" : true ,
111109 "strict" : true
110+ },
111+ "xo" : {
112+ "prettier" : true
112113 }
113114}
Original file line number Diff line number Diff line change 11{
2- "include" : [" **/**.js" , " **/**.jsx" ],
3- "exclude" : [
4- " coverage/" ,
5- " node_modules/" ,
6- " lib/jsx-automatic.js" ,
7- " lib/jsx-classic.js"
8- ],
92 "compilerOptions" : {
103 "checkJs" : true ,
4+ "customConditions" : [" development" ],
115 "declaration" : true ,
126 "emitDeclarationOnly" : true ,
137 "exactOptionalPropertyTypes" : true ,
14- "forceConsistentCasingInFileNames " : true ,
8+ "jsx " : " preserve " ,
159 "lib" : [" es2020" ],
1610 "module" : " node16" ,
17- "newLine" : " lf" ,
18- "skipLibCheck" : true ,
1911 "strict" : true ,
20- "target" : " es2020" ,
21- "jsx" : " preserve"
22- }
12+ "target" : " es2020"
13+ },
14+ "exclude" : [" coverage/" , " node_modules/" ],
15+ "include" : [
16+ " **/**.js" ,
17+ " **/**.jsx" ,
18+ " lib/jsx-automatic.d.ts" ,
19+ " lib/jsx-classic.d.ts"
20+ ]
2321}
You can’t perform that action at this time.
0 commit comments