From 99435df90dc63bbf9a3729826821fbd47677fb10 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Wed, 13 Mar 2024 11:09:10 +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