File tree Expand file tree Collapse file tree 2 files changed +29
-29
lines changed
Expand file tree Collapse file tree 2 files changed +29
-29
lines changed Original file line number Diff line number Diff line change 7878 "build" : " tsc --build --clean && tsc --build && type-coverage" ,
7979 "format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
8080 "test-api" : " node --conditions development test/index.js" ,
81- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
81+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
8282 "test" : " npm run build && npm run format && npm run test-coverage"
8383 },
8484 "prettier" : {
85- "tabWidth" : 2 ,
86- "useTabs" : false ,
87- "singleQuote" : true ,
8885 "bracketSpacing" : false ,
8986 "semi" : false ,
90- "trailingComma" : " none"
91- },
92- "xo" : {
93- "prettier" : true ,
94- "rules" : {
95- "max-depth" : " off" ,
96- "unicorn/prefer-at" : " off" ,
97- "unicorn/prefer-string-replace-all" : " off"
98- },
99- "overrides" : [
100- {
101- "files" : " test/**/*.js" ,
102- "rules" : {
103- "no-await-in-loop" : 0
104- }
105- }
106- ]
87+ "singleQuote" : true ,
88+ "tabWidth" : 2 ,
89+ "trailingComma" : " none" ,
90+ "useTabs" : false
10791 },
10892 "remarkConfig" : {
10993 "plugins" : [
117101 "typeCoverage" : {
118102 "atLeast" : 100 ,
119103 "detail" : true ,
120- "strict " : true ,
104+ "# " : " needed `any`s " ,
121105 "ignoreFiles" : [
122106 " lib/types.d.ts"
123- ]
107+ ],
108+ "ignoreCatch" : true ,
109+ "strict" : true
110+ },
111+ "xo" : {
112+ "overrides" : [
113+ {
114+ "files" : " test/**/*.js" ,
115+ "rules" : {
116+ "no-await-in-loop" : 0
117+ }
118+ }
119+ ],
120+ "prettier" : true ,
121+ "rules" : {
122+ "max-depth" : " off" ,
123+ "unicorn/prefer-at" : " off" ,
124+ "unicorn/prefer-string-replace-all" : " off"
125+ }
124126 }
125127}
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