Browse Source

♻ refactor: fix eslint bug

good luck 3 years ago
parent
commit
7bea9224ab
3 changed files with 16 additions and 16 deletions
  1. 1 0
      .eslintrc.js
  2. 15 15
      package.json
  3. 0 1
      prettier.config.js

+ 1 - 0
.eslintrc.js

@@ -13,6 +13,7 @@ module.exports = {
     'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
     'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
     'vue/no-v-html': 'off',
+    'vue/multi-word-component-names': 'off',
   },
   parserOptions: {
     parser: 'babel-eslint',

+ 15 - 15
package.json

@@ -39,11 +39,11 @@
     ]
   },
   "dependencies": {
-    "axios": "^0.22.0",
+    "axios": "^0.24.0",
     "clipboard": "^2.0.8",
-    "core-js": "^3.18.2",
+    "core-js": "^3.19.1",
     "dayjs": "^1.10.7",
-    "echarts": "^5.2.1",
+    "echarts": "^5.2.2",
     "element-ui": "^2.15.6",
     "jsencrypt": "^3.2.1",
     "lodash": "^4.17.21",
@@ -52,12 +52,12 @@
     "mockjs": "^1.1.0",
     "nprogress": "^0.2.0",
     "qs": "^6.10.1",
-    "screenfull": "^5.1.0",
+    "screenfull": "^5.2.0",
     "sortablejs": "^1.14.0",
     "vab-icon": "^0.0.1",
     "vue": "^2.6.14",
     "vue-echarts": "6.0.0",
-    "vue-router": "^3.5.2",
+    "vue-router": "^3.5.3",
     "vuex": "^3.6.2",
     "zx-count": "^0.3.7",
     "zx-layouts": "^0.6.27",
@@ -69,10 +69,10 @@
     "zx-verify": "^0.0.2"
   },
   "devDependencies": {
-    "@vue/cli-plugin-babel": "^4.5.13",
-    "@vue/cli-plugin-eslint": "^4.5.13",
-    "@vue/cli-service": "^4.5.13",
-    "@vue/composition-api": "^1.2.4",
+    "@vue/cli-plugin-babel": "^4.5.15",
+    "@vue/cli-plugin-eslint": "^4.5.15",
+    "@vue/cli-service": "^4.5.15",
+    "@vue/composition-api": "^1.3.3",
     "@vue/eslint-config-prettier": "^6.0.0",
     "babel-eslint": "^10.1.0",
     "body-parser": "^1.19.0",
@@ -80,18 +80,18 @@
     "chokidar": "^3.5.2",
     "eslint": "^7.32.0",
     "eslint-plugin-prettier": "^4.0.0",
-    "eslint-plugin-vue": "^7.19.1",
+    "eslint-plugin-vue": "^8.0.3",
     "filemanager-webpack-plugin": "^6.1.7",
     "image-webpack-loader": "^8.0.1",
-    "lint-staged": "^11.2.3",
-    "plop": "^2.7.4",
+    "lint-staged": "^11.2.6",
+    "plop": "^2.7.6",
     "prettier": "^2.4.1",
     "sass": "~1.32.13",
     "sass-loader": "^10.1.1",
-    "stylelint": "^13.13.1",
-    "stylelint-config-prettier": "^8.0.2",
+    "stylelint": "^14.0.1",
+    "stylelint-config-prettier": "^9.0.3",
     "stylelint-config-recess-order": "^2.5.0",
-    "svg-sprite-loader": "^6.0.9",
+    "svg-sprite-loader": "^6.0.11",
     "vue-template-compiler": "^2.6.14",
     "webpackbar": "^4.0.0"
   },

+ 0 - 1
prettier.config.js

@@ -13,7 +13,6 @@ module.exports = {
   jsxSingleQuote: false,
   trailingComma: 'es5',
   bracketSpacing: true,
-  jsxBracketSameLine: false,
   arrowParens: 'always',
   htmlWhitespaceSensitivity: 'ignore',
   vueIndentScriptAndStyle: true,