From ebd5bb40516638bcfbb56176ed3fdf030fc9ce3f Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Tue, 9 Jun 2026 14:19:58 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=20.oxlintrc.json=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .oxlintrc.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .oxlintrc.json diff --git a/.oxlintrc.json b/.oxlintrc.json new file mode 100644 index 0000000..0007561 --- /dev/null +++ b/.oxlintrc.json @@ -0,0 +1,15 @@ +{ + "$schema": "./node_modules/oxlint/configuration_schema.json", + "categories": { + "correctness": "error", + "suspicious": "error" + }, + "rules": { + "eslint/no-var": "error", + "eslint/prefer-const": ["error", { "destructuring": "all" }], + "eslint/eqeqeq": ["error", "always"], + "eslint/no-throw-literal": "error", + "eslint/no-debugger": "error", + "eslint/no-template-curly-in-string": "error" + } +}