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 58
58
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
59
59
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
60
60
"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" ,
62
62
"test" : " npm run build && npm run format && npm run test-coverage"
63
63
},
64
64
"prettier" : {
65
- "tabWidth" : 2 ,
66
- "useTabs" : false ,
67
- "singleQuote" : true ,
68
65
"bracketSpacing" : false ,
69
66
"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
79
71
},
80
72
"remarkConfig" : {
81
73
"plugins" : [
82
- " preset-wooorm"
74
+ " remark- preset-wooorm"
83
75
]
84
76
},
85
77
"typeCoverage" : {
86
78
"atLeast" : 100 ,
87
79
"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
+ }
90
90
}
91
91
}
Original file line number Diff line number Diff line change 1
1
{
2
- "include" : [" **/*.js" , " complex-types.d.ts" , " index.d.ts" ],
3
- "exclude" : [" coverage/" , " node_modules/" ],
4
2
"compilerOptions" : {
5
3
"checkJs" : true ,
4
+ "customConditions" : [" development" ],
6
5
"declaration" : true ,
7
6
"emitDeclarationOnly" : true ,
8
7
"exactOptionalPropertyTypes" : true ,
9
- "forceConsistentCasingInFileNames" : true ,
10
8
"lib" : [" es2020" ],
11
9
"module" : " node16" ,
12
- "newLine" : " lf " ,
10
+ // Needed for `katex` :'(
13
11
"skipLibCheck" : true ,
14
12
"strict" : true ,
15
13
"target" : " es2020"
16
- }
14
+ },
15
+ "exclude" : [" coverage/" , " node_modules/" ],
16
+ "include" : [" **/*.js" , " complex-types.d.ts" , " index.d.ts" ]
17
17
}
You can’t perform that action at this time.
0 commit comments