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

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

No files matched your search

+6
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",
{