From 6cd58726c599cab5b3160c607b98521796fa14b8 Mon Sep 17 00:00:00 2001 From: Anton Schubert Date: Wed, 30 Aug 2017 13:35:24 +0200 Subject: [PATCH] fix vue-plugin for eslint -> it doesn't like the html plugin, fix eslint errors --- .eslintrc | 3 - package.json | 1 - src/components/my-form.vue | 6 +- src/components/my-table.vue | 172 ++++++++++++++--------------- src/components/scroll-table.vue | 188 ++++++++++++++++---------------- src/components/topbar.vue | 64 +++++------ src/views/forms/formdemo.vue | 9 +- src/views/forms/login.vue | 34 +++--- src/views/lists/userlist.vue | 2 +- 9 files changed, 237 insertions(+), 242 deletions(-) diff --git a/.eslintrc b/.eslintrc index 71c5252..ac65579 100644 --- a/.eslintrc +++ b/.eslintrc @@ -9,9 +9,6 @@ "browser": true, "es6": true }, - "plugins": [ - "html", - ], extends: [ "eslint:recommended", "plugin:vue/recommended" diff --git a/package.json b/package.json index efd4952..d790eaa 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "css-loader": "^0.28.5", "eslint": "^4.5.0", "eslint-loader": "^1.9.0", - "eslint-plugin-html": "^3.2.0", "eslint-plugin-vue": "^3.12.0", "less": "^2.7.2", "less-loader": "^4.0.5", diff --git a/src/components/my-form.vue b/src/components/my-form.vue index 7f7ba2a..f9c530a 100644 --- a/src/components/my-form.vue +++ b/src/components/my-form.vue @@ -70,9 +70,9 @@ export default { }, buttonClick(type) { switch(type) { - case 'submit': - this.submit(); - break; + case 'submit': + this.submit(); + break; } }, submit() { diff --git a/src/components/my-table.vue b/src/components/my-table.vue index b48954b..11230eb 100644 --- a/src/components/my-table.vue +++ b/src/components/my-table.vue @@ -2,7 +2,7 @@
-
+
@@ -11,19 +11,19 @@
{{ col.heading }} - - - + + +
{{ col.heading }}
-
+
-
+
@@ -36,102 +36,102 @@
-
-
    -
  • +
    +
      +
    • -
    +
-
+
-
+