From b74ea56001fba65e67d9b39a5757dab4e4036858 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Wed, 03 Apr 2024 09:07:24 +0800
Subject: [PATCH] Merge branch 'feature_1.0'
---
.eslintrc.js | 45 +++++++++++++++++++++++----------------------
1 files changed, 23 insertions(+), 22 deletions(-)
diff --git a/.eslintrc.js b/.eslintrc.js
index d778259..47d3387 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -2,36 +2,37 @@
root: true,
env: {
browser: true,
- node: true
+ node: true,
},
extends: [
- 'plugin:vue/essential',
- '@vue/standard',
- '@vue/typescript/recommended',
- '@vue/prettier',
- '@vue/prettier/@typescript-eslint',
+ "plugin:vue/essential",
+ "@vue/standard",
+ "@vue/typescript/recommended",
+ "@vue/prettier",
+ "@vue/prettier/@typescript-eslint",
],
parserOptions: {
- ecmaVersion: 2020
+ ecmaVersion: 2020,
},
globals: {
- _czc: true
+ _czc: true,
+ BMapGL: true,
},
rules: {
- 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
- 'camelcase': 'off',
- 'comma-dangle': 'off',
- '@typescript-eslint/no-explicit-any': 'off',
- '@typescript-eslint/camelcase': 'off',
- '@typescript-eslint/no-empty-function': 'off',
- 'lines-between-class-members': 'off',
- '@typescript-eslint/no-this-alias': [
+ "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
+ "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
+ camelcase: "off",
+ "comma-dangle": "off",
+ "@typescript-eslint/no-explicit-any": "off",
+ "@typescript-eslint/camelcase": "off",
+ "@typescript-eslint/no-empty-function": "off",
+ "lines-between-class-members": "off",
+ "@typescript-eslint/no-this-alias": [
"error",
{
- "allowDestructuring": true,
- "allowedNames": ["that", "self"]
- }
- ]
+ allowDestructuring: true,
+ allowedNames: ["that", "self"],
+ },
+ ],
},
-}
+};
--
Gitblit v1.8.0