From 5742084716693ffe8ca813b0c3765a603f99220f Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 30 Nov 2023 11:57:49 +0800
Subject: [PATCH] fix:数值修改
---
.eslintrc.js | 29 +++++++++++++++++++----------
1 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/.eslintrc.js b/.eslintrc.js
index 65034b5..853e4dd 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,11 +1,25 @@
module.exports = {
- root: true,
env: {
browser: true,
- node: true,
- es6: true
+ es2021: true
},
- extends: ['plugin:vue/essential', '@vue/standard'],
+ extends: ['eslint:recommended', 'standard'],
+ overrides: [
+ {
+ env: {
+ node: true
+ },
+ files: ['.eslintrc.{js,cjs}'],
+ parserOptions: {
+ sourceType: 'script'
+ }
+ }
+ ],
+ parserOptions: {
+ ecmaVersion: '12',
+ sourceType: 'module'
+ },
+ plugins: ['vue'],
rules: {
eqeqeq: ['error', 'always'], // ���������������������������
semi: 2, // ���������������������������������
@@ -45,10 +59,5 @@
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-unused-vars': 0, // ���������������������������������
'spaced-comment': 0 // ������������������ // ��� /* ���������������������
- },
- parserOptions: {
- ecmaVersion: 6,
- parser: 'babel-eslint'
- },
- plugins: ['vue']
+ }
}
--
Gitblit v1.8.0