File tree Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 7272 "build" : " tsc --build --clean && tsc --build && tsd && type-coverage" ,
7373 "format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
7474 "test-api" : " node --conditions development test.js" ,
75- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
75+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
7676 "test" : " npm run build && npm run format && npm run test-coverage"
7777 },
7878 "prettier" : {
79- "tabWidth" : 2 ,
80- "useTabs" : false ,
81- "singleQuote" : true ,
8279 "bracketSpacing" : false ,
8380 "semi" : false ,
84- "trailingComma" : " none"
85- },
86- "xo" : {
87- "prettier" : true ,
88- "rules" : {
89- "@typescript-eslint/ban-types" : " off" ,
90- "@typescript-eslint/array-type" : " off"
91- }
81+ "singleQuote" : true ,
82+ "tabWidth" : 2 ,
83+ "trailingComma" : " none" ,
84+ "useTabs" : false
9285 },
9386 "remarkConfig" : {
9487 "plugins" : [
9891 "typeCoverage" : {
9992 "atLeast" : 100 ,
10093 "detail" : true ,
94+ "ignoreCatch" : true ,
10195 "strict" : true
96+ },
97+ "xo" : {
98+ "prettier" : true ,
99+ "rules" : {
100+ "@typescript-eslint/ban-types" : " off" ,
101+ "@typescript-eslint/array-type" : " off"
102+ }
102103 }
103104}
Original file line number Diff line number Diff line change 11{
2- "include" : [" **/*.js" , " complex-types.d.ts" , " index.d.ts" ],
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" , " complex-types.d.ts" , " index.d.ts" ]
1715}
You can’t perform that action at this time.
0 commit comments