@naturalcycles/dev-lib 20.11.0 → 20.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -118,7 +118,6 @@ export function runOxlintPrettier(match) {
|
|
|
118
118
|
export function runPrettier(match) {
|
|
119
119
|
const filesList = getFilesList(match)
|
|
120
120
|
if (!filesList || !prettierCmd) return []
|
|
121
|
-
// oxlint-disable-next-line typescript/restrict-template-expressions
|
|
122
121
|
return [prettierCmd].map(s => `${s} ${filesList}`)
|
|
123
122
|
}
|
|
124
123
|
|
package/cfg/oxlint.config.json
CHANGED
|
@@ -126,6 +126,7 @@
|
|
|
126
126
|
"typescript/no-base-to-string": 2,
|
|
127
127
|
"typescript/unbound-method": 0,
|
|
128
128
|
"typescript/require-array-sort-compare": 0, // not good
|
|
129
|
+
"typescript/restrict-template-expressions": 0, // not good
|
|
129
130
|
"typescript/no-redundant-type-constituents": 0, // `'a' | string` is still useful for DX
|
|
130
131
|
"unicorn/no-anonymous-default-export": 2,
|
|
131
132
|
"unicorn/no-array-reduce": 2,
|