File tree Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 5858 "build" : " tsc --build --clean && tsc --build && type-coverage" ,
5959 "format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
6060 "test-api" : " node --conditions development test.js" ,
61- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
61+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
6262 "test" : " npm run build && npm run format && npm run test-coverage"
6363 },
6464 "prettier" : {
65- "tabWidth" : 2 ,
66- "useTabs" : false ,
67- "singleQuote" : true ,
6865 "bracketSpacing" : false ,
6966 "semi" : false ,
70- "trailingComma" : " none"
71- },
72- "xo" : {
73- "prettier" : true ,
74- "rules" : {
75- "@typescript-eslint/ban-types" : " off" ,
76- "unicorn/prefer-at" : " off" ,
77- "unicorn/prefer-string-replace-all" : " off"
78- }
67+ "singleQuote" : true ,
68+ "tabWidth" : 2 ,
69+ "trailingComma" : " none" ,
70+ "useTabs" : false
7971 },
8072 "remarkConfig" : {
8173 "plugins" : [
82- " preset-wooorm"
74+ " remark- preset-wooorm"
8375 ]
8476 },
8577 "typeCoverage" : {
8678 "atLeast" : 100 ,
8779 "detail" : true ,
88- "strict" : true ,
89- "ignoreCatch" : true
80+ "ignoreCatch" : true ,
81+ "strict" : true
82+ },
83+ "xo" : {
84+ "prettier" : true ,
85+ "rules" : {
86+ "@typescript-eslint/ban-types" : " off" ,
87+ "unicorn/prefer-at" : " off" ,
88+ "unicorn/prefer-string-replace-all" : " off"
89+ }
9090 }
9191}
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 " ,
10+ // Needed for `katex` :'(
1311 "skipLibCheck" : true ,
1412 "strict" : true ,
1513 "target" : " es2020"
16- }
14+ },
15+ "exclude" : [" coverage/" , " node_modules/" ],
16+ "include" : [" **/*.js" , " complex-types.d.ts" , " index.d.ts" ]
1717}
You can’t perform that action at this time.
0 commit comments