From 94fbbcaa11b2222b962eaa23a9ec0df842fbc6b7 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 11 Apr 2024 17:07:36 +0800
Subject: [PATCH] fix: 页码修改

---
 .eslintrc.js |   41 ++++++++++++++++++++++++++++++++++-------
 1 files changed, 34 insertions(+), 7 deletions(-)

diff --git a/.eslintrc.js b/.eslintrc.js
index d172433..752d712 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,16 +1,43 @@
 module.exports = {
   env: {
     browser: true,
-    node: true
+    es2021: true
   },
-  extends: [
-    'plugin:vue/recommended', // ���������������������vue.js������
-    'eslint:recommended' //������Eslint������������������������������������
+  extends: ['standard', 'plugin:vue/recommended'],
+  overrides: [
+    {
+      env: {
+        node: true
+      },
+      files: ['.eslintrc.{js,cjs}'],
+      parserOptions: {
+        sourceType: 'script'
+      }
+    }
   ],
   parserOptions: {
-    ecmaVersion: 13,
-    sourceType: 'module'
+    ecmaVersion: 2021,
+    sourceType: 'module',
+    parser: 'babel-eslint',
+    ecmaFeatures: {
+      // ��� react ������������ jsx ������������,��������� true
+      jsx: false
+    }
+  },
+  globals: {
+    AMap: true,
+    AMapUI: true
   },
   plugins: ['vue'],
-  rules: {}
+  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': 'off'
+  }
 }

--
Gitblit v1.8.0