chore: configure oxlint using .oxlint.json (#6916)

This commit is contained in:
Boshen
2024-05-14 13:34:18 +08:00
committed by GitHub
parent 261d413607
commit 48de982a6b
2 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
{
"rules": {
// allow
"import/named": "allow",
"no-await-in-loop": "allow",
// deny
"unicorn/prefer-array-some": "error",
"unicorn/no-useless-promise-resolve-reject": "error",
"import/no-cycle": [
"error",
{