From 77bd2ee469422c91c6f2a446de34ee3c8f3c9543 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Tue, 21 Nov 2023 15:59:04 +0800
Subject: [PATCH] fix:流程状态修改
---
.eslintrc.js | 70 ++++------------------------------
1 files changed, 9 insertions(+), 61 deletions(-)
diff --git a/.eslintrc.js b/.eslintrc.js
index 7351902..d172433 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,68 +1,16 @@
module.exports = {
- root: true,
- parserOptions: {
- parser: 'babel-eslint',
- sourceType: 'module'
- },
env: {
browser: true,
- node: true,
- es6: true,
+ node: true
},
- extends: [/* vue 2 ������ */
- "plugin:vue/recommended",
- "plugin:vue/essential",
- "plugin:vue/strongly-recommended",
- /* vue 3 ������ */
- // "plugin:vue/vue3-recommended"
- // "plugin:vue/vue3-essential"
- // "plugin:vue/vue3-strongly-recommended"
+ extends: [
+ 'plugin:vue/recommended', // ���������������������vue.js������
+ 'eslint:recommended' //������Eslint������������������������������������
],
-
- // add your custom rules here
- //it is base on https://github.com/vuejs/eslint-config-vue
- rules: {
- 'vue/no-unused-vars': 'error',
- 'eqeqeq': ['error', 'always'], // ���������������������������
- 'semi': 0, // ���������������������������������
- 'no-use-before-define': [1, 'nofunc'], // ������������������������
- 'max-lines': ['error', { 'max': 2000, 'skipBlankLines': true }],
- 'no-mixed-spaces-and-tabs': 'warn', // ���������������������tab������������
- 'newline-per-chained-call': ['error', { ignoreChainWithDepth: 1 }], // promise ������ ���������������������������������������
- 'vue/attribute-hyphenation': ['error', 'always'], // prop������������������������������������������������������������������������������������prop���������������������������������������
- 'vue/html-indent': [
- 'warn',
- 2,
- {
- attribute: 1,
- baseIndent: 1,
- closeBracket: 0,
- alignAttributesVertically: true
- }
- ],
- 'curly': 2, // ������������ if(){} ������{}
- 'vue/prop-name-casing': ['warn', 'camelCase'], //������������������������
- 'vue/this-in-template': ['error', 'never'], //������������template������������this
- 'no-trailing-spaces': 1, //���������������������������������
- 'vue/max-attributes-per-line': [ // template���������������������������prop������,������3������������3���������������������������prop���������������������
- 'warn',
- {
- singleline: 3,
- multiline: {
- max: 1,
- allowFirstLine: false
- }
- }
- ],
- 'no-catch-shadow': 'error', //������catch������������������������������������������
- 'vue/v-bind-style': ['error', 'shorthand'], // ������������:���������
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', // ���������������������������������debugger
- 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
- 'no-unused-vars': 0, // ���������������������������������
- 'spaced-comment': 0 // ������������������ // ��� /* ���������������������
+ parserOptions: {
+ ecmaVersion: 13,
+ sourceType: 'module'
},
- globals: {
- 'AMap': false,
- 'AMapUI': false
- },
+ plugins: ['vue'],
+ rules: {}
}
--
Gitblit v1.8.0