Skip to content

Commit 089a7b5

Browse files
michalsniklydell
authored andcommitted
Use dedicated vue/no-layout-rules config (#69)
1 parent 152bd7d commit 089a7b5

3 files changed

Lines changed: 22 additions & 25 deletions

File tree

package-lock.json

Lines changed: 19 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"eslint-plugin-react": "7.11.1",
4747
"eslint-plugin-standard": "4.0.0",
4848
"eslint-plugin-unicorn": "6.0.1",
49-
"eslint-plugin-vue": "5.0.0-beta.3",
49+
"eslint-plugin-vue": "^5.0.0",
5050
"jest": "23.6.0",
5151
"prettier": "1.15.2",
5252
"replace": "1.0.0",

vue.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
"use strict";
22

33
module.exports = {
4+
extends: "plugin:vue/no-layout-rules",
45
rules: {
5-
"vue/html-self-closing": 0,
6-
7-
"vue/html-closing-bracket-newline": "off",
8-
"vue/html-closing-bracket-spacing": "off",
9-
"vue/html-end-tags": "off",
10-
"vue/html-indent": "off",
11-
"vue/html-quotes": "off",
12-
"vue/max-attributes-per-line": "off",
13-
"vue/multiline-html-element-content-newline": "off",
14-
"vue/mustache-interpolation-spacing": "off",
15-
"vue/no-multi-spaces": "off",
16-
"vue/no-spaces-around-equal-signs-in-attribute": "off",
17-
"vue/script-indent": "off",
18-
"vue/singleline-html-element-content-newline": "off"
6+
"vue/html-self-closing": 0
197
}
208
};

0 commit comments

Comments
 (0)