chore: tune lint rules for node scripts
This commit is contained in:
@@ -115,7 +115,17 @@
|
|||||||
{
|
{
|
||||||
"files": ["scripts/**/*.ts"],
|
"files": ["scripts/**/*.ts"],
|
||||||
"env": { "browser": false, "node": true },
|
"env": { "browser": false, "node": true },
|
||||||
"rules": { "no-console": "off", "no-process-exit": "off", "unicorn/prefer-top-level-await": "off" }
|
"rules": {
|
||||||
|
"import/no-nodejs-modules": "off",
|
||||||
|
"no-console": "off",
|
||||||
|
"no-process-exit": "off",
|
||||||
|
"promise/prefer-await-to-callbacks": "off",
|
||||||
|
"promise/prefer-await-to-then": "off",
|
||||||
|
"typescript/no-unnecessary-condition": "off",
|
||||||
|
"unicorn/no-array-sort": "off",
|
||||||
|
"unicorn/prefer-string-replace-all": "off",
|
||||||
|
"unicorn/prefer-top-level-await": "off"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user