From 7f72d1a423d16752c5e71a777cae6f6a8fb982fa Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 14 Jul 2019 18:00:47 +0200 Subject: [PATCH] Implement vue/recommended linter Signed-off-by: Knut Ahlers --- src/.eslintrc.js | 2 +- src/app.vue | 124 ++++++++++++++++++++++++++++++----------------- src/main.js | 2 +- 3 files changed, 81 insertions(+), 47 deletions(-) diff --git a/src/.eslintrc.js b/src/.eslintrc.js index ebcafcb..fce1448 100644 --- a/src/.eslintrc.js +++ b/src/.eslintrc.js @@ -14,7 +14,7 @@ module.exports = { * https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention * consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules. */ - 'plugin:vue/essential', + 'plugin:vue/recommended', // https://github.com/standard/standard/blob/master/docs/RULES-en.md 'eslint:recommended', ], diff --git a/src/app.vue b/src/app.vue index 84031b6..8ada177 100644 --- a/src/app.vue +++ b/src/app.vue @@ -1,73 +1,109 @@