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 6060 "build" : " tsc --build --clean && tsc --build && type-coverage" ,
6161 "format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
6262 "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" ,
6464 "test" : " npm run build && npm run format && npm run test-coverage"
6565 },
6666 "prettier" : {
67- "tabWidth" : 2 ,
68- "useTabs" : false ,
69- "singleQuote" : true ,
7067 "bracketSpacing" : false ,
7168 "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
8873 },
8974 "remarkConfig" : {
9075 "plugins" : [
91- " preset-wooorm"
76+ " remark- preset-wooorm"
9277 ]
9378 },
9479 "typeCoverage" : {
9580 "atLeast" : 100 ,
9681 "detail" : true ,
82+ "ignoreCatch" : true ,
9783 "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+ }
9899 }
99100}
Original file line number Diff line number Diff line change 11{
2- "include" : [" **/**.js" ],
3- "exclude" : [" coverage/" , " node_modules/" ],
42 "compilerOptions" : {
53 "checkJs" : true ,
4+ "customConditions" : [" development" ],
65 "declaration" : true ,
76 "emitDeclarationOnly" : true ,
87 "exactOptionalPropertyTypes" : true ,
9- "forceConsistentCasingInFileNames" : true ,
108 "lib" : [" es2020" ],
119 "module" : " node16" ,
12- "newLine" : " lf" ,
13- "skipLibCheck" : true ,
1410 "strict" : true ,
1511 "target" : " es2020"
16- }
12+ },
13+ "exclude" : [" coverage/" , " node_modules/" ],
14+ "include" : [" **/*.js" ]
1715}
You can’t perform that action at this time.
0 commit comments