File tree Expand file tree Collapse file tree 2 files changed +25
-26
lines changed
Expand file tree Collapse file tree 2 files changed +25
-26
lines changed Original file line number Diff line number Diff line change 5959 "build" : " tsc --build --clean && tsc --build && type-coverage" ,
6060 "format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
6161 "test-api" : " node --conditions development test/index.js" ,
62- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
62+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
6363 "test" : " npm run build && npm run format && npm run test-coverage"
6464 },
6565 "prettier" : {
66- "tabWidth" : 2 ,
67- "useTabs" : false ,
68- "singleQuote" : true ,
6966 "bracketSpacing" : false ,
7067 "semi" : false ,
71- "trailingComma" : " none"
72- },
73- "xo" : {
74- "prettier" : true ,
75- "rules" : {
76- "unicorn/prefer-code-point" : " off" ,
77- "unicorn/prefer-string-replace-all" : " off"
78- },
79- "overrides" : [
80- {
81- "files" : " test/**/*.js" ,
82- "rules" : {
83- "no-await-in-loop" : 0
84- }
85- }
86- ]
68+ "singleQuote" : true ,
69+ "tabWidth" : 2 ,
70+ "trailingComma" : " none" ,
71+ "useTabs" : false
8772 },
8873 "remarkConfig" : {
8974 "plugins" : [
9883 "typeCoverage" : {
9984 "atLeast" : 100 ,
10085 "detail" : true ,
86+ "ignoreCatch" : true ,
10187 "strict" : true
88+ },
89+ "xo" : {
90+ "overrides" : [
91+ {
92+ "files" : " test/**/*.js" ,
93+ "rules" : {
94+ "no-await-in-loop" : " off"
95+ }
96+ }
97+ ],
98+ "prettier" : true ,
99+ "rules" : {
100+ "unicorn/prefer-code-point" : " off" ,
101+ "unicorn/prefer-string-replace-all" : " off"
102+ }
102103 }
103104}
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