Skip to content

Commit

Permalink
Revert the Vue changes from commit 089a7b5 (PR #69)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lydell committed Jan 16, 2019
1 parent 338adc3 commit 6c4d1f0
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions 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"
}
};

0 comments on commit 6c4d1f0

Please sign in to comment.