File tree Expand file tree Collapse file tree 2 files changed +23
-25
lines changed Expand file tree Collapse file tree 2 files changed +23
-25
lines changed Original file line number Diff line number Diff line change 5454 "hast-util-to-html" : " ^8.0.0" ,
5555 "mdast-util-to-hast" : " ^12.0.0" ,
5656 "micromark-extension-gfm" : " ^3.0.0" ,
57- "node-fetch" : " ^3.0.0" ,
5857 "prettier" : " ^2.0.0" ,
5958 "remark-cli" : " ^11.0.0" ,
6059 "remark-preset-wooorm" : " ^9.0.0" ,
6160 "type-coverage" : " ^2.0.0" ,
6261 "typescript" : " ^5.0.0" ,
62+ "undici" : " ^5.0.0" ,
6363 "xo" : " ^0.54.0"
6464 },
6565 "scripts" : {
6868 "build" : " tsc --build --clean && tsc --build && type-coverage" ,
6969 "format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
7070 "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" ,
7272 "test" : " npm run build && npm run format && npm run test-coverage"
7373 },
7474 "prettier" : {
75- "tabWidth" : 2 ,
76- "useTabs" : false ,
77- "singleQuote" : true ,
7875 "bracketSpacing" : false ,
7976 "semi" : false ,
80- "trailingComma" : " none"
81- },
82- "xo" : {
83- "prettier" : true ,
84- "overrides" : [
85- {
86- "files" : " test/**/*.js" ,
87- "rules" : {
88- "no-await-in-loop" : " off"
89- }
90- }
91- ]
77+ "singleQuote" : true ,
78+ "tabWidth" : 2 ,
79+ "trailingComma" : " none" ,
80+ "useTabs" : false
9281 },
9382 "remarkConfig" : {
9483 "plugins" : [
9887 "typeCoverage" : {
9988 "atLeast" : 100 ,
10089 "detail" : true ,
101- "strict" : true ,
102- "ignoreCatch" : true
90+ "ignoreCatch" : true ,
91+ "strict" : true
92+ },
93+ "xo" : {
94+ "overrides" : [
95+ {
96+ "files" : " test/**/*.js" ,
97+ "rules" : {
98+ "no-await-in-loop" : " off"
99+ }
100+ }
101+ ],
102+ "prettier" : true
103103 }
104104}
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