From 6c4d1f06fead3d41fde20c946950854da7491e28 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Wed, 16 Jan 2019 21:18:12 +0100 Subject: [PATCH] Revert the Vue changes from commit 089a7b53 (PR #69) Fixes #70. While the PR was well intended, it unfortunately was breaking change since it requires eslint-plugin-vue@5 while lots of people still use version 4. Also, sometimes there are layout rules that don't conflict with Prettier but rather complement it. So it might make sense to keep a manual, Prettier-specific list after all. --- vue.js | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/vue.js b/vue.js index 8a843d3..8b64b3c 100644 --- a/vue.js +++ b/vue.js @@ -1,8 +1,20 @@ "use strict"; module.exports = { - extends: "plugin:vue/no-layout-rules", rules: { - "vue/html-self-closing": 0 + "vue/html-self-closing": 0, + + "vue/html-closing-bracket-newline": "off", + "vue/html-closing-bracket-spacing": "off", + "vue/html-end-tags": "off", + "vue/html-indent": "off", + "vue/html-quotes": "off", + "vue/max-attributes-per-line": "off", + "vue/multiline-html-element-content-newline": "off", + "vue/mustache-interpolation-spacing": "off", + "vue/no-multi-spaces": "off", + "vue/no-spaces-around-equal-signs-in-attribute": "off", + "vue/script-indent": "off", + "vue/singleline-html-element-content-newline": "off" } };