diff --git a/.eslintrc.js b/.eslintrc.js index 6f55c5a1..1266f38d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,6 +21,8 @@ module.exports = { "allowFirstLine": false } }], + "vue/singleline-html-element-content-newline": "off", + "vue/multiline-html-element-content-newline":"off", "vue/name-property-casing": ["error", "PascalCase"], 'accessor-pairs': 2, 'arrow-spacing': [2, { diff --git a/package.json b/package.json index 015d8b19..da6d858b 100644 --- a/package.json +++ b/package.json @@ -82,10 +82,10 @@ "copy-webpack-plugin": "4.5.2", "cross-env": "5.2.0", "css-loader": "1.0.0", - "eslint": "4.19.1", + "eslint": "5.15.2", "eslint-friendly-formatter": "4.0.1", - "eslint-loader": "2.0.0", - "eslint-plugin-vue": "4.7.1", + "eslint-loader": "2.1.2", + "eslint-plugin-vue": "5.2.2", "file-loader": "1.1.11", "friendly-errors-webpack-plugin": "1.7.0", "hash-sum": "1.0.2", diff --git a/src/App.vue b/src/App.vue index ab408f3e..ec9032c1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,11 @@ diff --git a/src/components/BackToTop/index.vue b/src/components/BackToTop/index.vue index 39977178..0c1ff792 100644 --- a/src/components/BackToTop/index.vue +++ b/src/components/BackToTop/index.vue @@ -4,7 +4,7 @@ diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 5f4d054f..9e78b1ec 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -2,8 +2,9 @@ - {{ - generateTitle(item.meta.title) }} + + {{ generateTitle(item.meta.title) }} + {{ generateTitle(item.meta.title) }} diff --git a/src/components/Charts/keyboard.vue b/src/components/Charts/keyboard.vue index 857b26ae..3f061bd0 100644 --- a/src/components/Charts/keyboard.vue +++ b/src/components/Charts/keyboard.vue @@ -1,5 +1,5 @@ diff --git a/src/views/excel/selectExcel.vue b/src/views/excel/selectExcel.vue index 2695bfb4..314167f8 100644 --- a/src/views/excel/selectExcel.vue +++ b/src/views/excel/selectExcel.vue @@ -1,7 +1,7 @@