Update Oxlint config

This commit is contained in:
2026-08-14 10:08:45 +04:00
parent c8bf000479
commit 3f2566b9d1

View File

@@ -26,6 +26,7 @@
"eslint/no-inline-comments": "off", "eslint/no-inline-comments": "off",
"eslint/no-irregular-whitespace": ["error", { "skipTemplates": true }], "eslint/no-irregular-whitespace": ["error", { "skipTemplates": true }],
"eslint/no-magic-numbers": "off", "eslint/no-magic-numbers": "off",
"eslint/no-nested-ternary": "off",
"eslint/no-new": "off", "eslint/no-new": "off",
"eslint/no-shadow": "off", "eslint/no-shadow": "off",
"eslint/no-ternary": "off", "eslint/no-ternary": "off",
@@ -33,6 +34,7 @@
"eslint/no-undefined": "off", "eslint/no-undefined": "off",
"eslint/no-underscore-dangle": "off", "eslint/no-underscore-dangle": "off",
"eslint/no-unexpected-multiline": "off", "eslint/no-unexpected-multiline": "off",
"eslint/one-var": "off",
"eslint/prefer-destructuring": [ "eslint/prefer-destructuring": [
"warn", "warn",
{ {
@@ -55,6 +57,7 @@
"oxc/no-map-spread": "off", "oxc/no-map-spread": "off",
"oxc/no-optional-chaining": "off", "oxc/no-optional-chaining": "off",
"oxc/no-rest-spread-properties": "off", "oxc/no-rest-spread-properties": "off",
"unicorn/explicit-timer-delay": "off",
"unicorn/filename-case": ["warn", { "cases": { "kebabCase": true, "pascalCase": true } }], "unicorn/filename-case": ["warn", { "cases": { "kebabCase": true, "pascalCase": true } }],
"unicorn/no-empty-file": "warn", "unicorn/no-empty-file": "warn",
"unicorn/no-nested-ternary": "off", "unicorn/no-nested-ternary": "off",