From 793aad0a5ee3a8f0a901f3d81bec6c176e99a956 Mon Sep 17 00:00:00 2001 From: YHH <359807859@qq.com> Date: Sun, 2 Nov 2025 12:22:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E6=97=A7=E7=89=88ES?= =?UTF-8?q?Lint=E9=85=8D=E7=BD=AE=E5=B9=B6=E6=9B=B4=E6=96=B0=E5=AD=90?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.json | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 80c2703b..00000000 --- a/.eslintrc.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "root": true, - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": 2020, - "sourceType": "module", - "project": "./tsconfig.json" - }, - "plugins": [ - "@typescript-eslint" - ], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended" - ], - "rules": { - "semi": ["error", "always"], - "quotes": ["error", "single", { "avoidEscape": true }], - "indent": ["error", 4, { "SwitchCase": 1 }], - "no-trailing-spaces": "error", - "eol-last": ["error", "always"], - "comma-dangle": ["error", "none"], - "object-curly-spacing": ["error", "always"], - "array-bracket-spacing": ["error", "never"], - "arrow-parens": ["error", "always"], - "no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1 }], - "no-console": "off", - "@typescript-eslint/no-explicit-any": "error", - "@typescript-eslint/no-unsafe-assignment": "warn", - "@typescript-eslint/no-unsafe-member-access": "warn", - "@typescript-eslint/no-unsafe-call": "warn", - "@typescript-eslint/no-unsafe-return": "warn", - "@typescript-eslint/no-unsafe-argument": "warn", - "@typescript-eslint/explicit-module-boundary-types": "off", - "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }], - "@typescript-eslint/no-non-null-assertion": "off" - }, - "ignorePatterns": [ - "node_modules/", - "dist/", - "bin/", - "build/", - "coverage/", - "thirdparty/", - "examples/lawn-mower-demo/", - "extensions/", - "*.min.js", - "*.d.ts" - ] -}