Skip to content

Commit fdc25da

Browse files
authored
Support eslint-plugin-vue@7 (which support Vue 3.0) (#162)
1 parent d5ae0c6 commit fdc25da

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ eslint-config-prettier has been tested with:
702702
- eslint-plugin-react 7.21.2
703703
- eslint-plugin-standard 4.0.1
704704
- eslint-plugin-unicorn 22.0.0
705-
- eslint-plugin-vue 6.2.2
705+
- eslint-plugin-vue 7.0.1
706706

707707
Have new rules been added since those versions? Have we missed any rules? Is there a plugin you would like to see exclusions for? Open an issue or a pull request!
708708

package-lock.json

Lines changed: 9 additions & 16 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
@@ -54,7 +54,7 @@
5454
"eslint-plugin-react": "7.21.2",
5555
"eslint-plugin-standard": "4.0.1",
5656
"eslint-plugin-unicorn": "22.0.0",
57-
"eslint-plugin-vue": "6.2.2",
57+
"eslint-plugin-vue": "7.0.1",
5858
"jest": "26.4.2",
5959
"prettier": "2.1.2",
6060
"replace": "1.2.0",

vue.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ module.exports = {
1010
"vue/block-spacing": "off",
1111
"vue/brace-style": "off",
1212
"vue/comma-dangle": "off",
13+
"vue/comma-spacing": "off",
14+
"vue/comma-style": "off",
1315
"vue/dot-location": "off",
16+
"vue/func-call-spacing": "off",
1417
"vue/html-closing-bracket-newline": "off",
1518
"vue/html-closing-bracket-spacing": "off",
1619
"vue/html-end-tags": "off",
@@ -21,12 +24,18 @@ module.exports = {
2124
"vue/max-attributes-per-line": "off",
2225
"vue/multiline-html-element-content-newline": "off",
2326
"vue/mustache-interpolation-spacing": "off",
27+
"vue/no-extra-parens": "off",
2428
"vue/no-multi-spaces": "off",
2529
"vue/no-spaces-around-equal-signs-in-attribute": "off",
30+
"vue/object-curly-newline": "off",
2631
"vue/object-curly-spacing": "off",
32+
"vue/object-property-newline": "off",
33+
"vue/operator-linebreak": "off",
2734
"vue/script-indent": "off",
2835
"vue/singleline-html-element-content-newline": "off",
36+
"vue/space-in-parens": "off",
2937
"vue/space-infix-ops": "off",
3038
"vue/space-unary-ops": "off",
39+
"vue/template-curly-spacing": "off",
3140
},
3241
};

0 commit comments

Comments
 (0)