Skip to content

Commit

Permalink
Support eslint-plugin-vue@7 (which support Vue 3.0) (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
xcatliu committed Oct 16, 2020
1 parent d5ae0c6 commit fdc25da
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -702,7 +702,7 @@ eslint-config-prettier has been tested with:
- eslint-plugin-react 7.21.2
- eslint-plugin-standard 4.0.1
- eslint-plugin-unicorn 22.0.0
- eslint-plugin-vue 6.2.2
- eslint-plugin-vue 7.0.1

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!

Expand Down
25 changes: 9 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -54,7 +54,7 @@
"eslint-plugin-react": "7.21.2",
"eslint-plugin-standard": "4.0.1",
"eslint-plugin-unicorn": "22.0.0",
"eslint-plugin-vue": "6.2.2",
"eslint-plugin-vue": "7.0.1",
"jest": "26.4.2",
"prettier": "2.1.2",
"replace": "1.2.0",
Expand Down
9 changes: 9 additions & 0 deletions vue.js
Expand Up @@ -10,7 +10,10 @@ module.exports = {
"vue/block-spacing": "off",
"vue/brace-style": "off",
"vue/comma-dangle": "off",
"vue/comma-spacing": "off",
"vue/comma-style": "off",
"vue/dot-location": "off",
"vue/func-call-spacing": "off",
"vue/html-closing-bracket-newline": "off",
"vue/html-closing-bracket-spacing": "off",
"vue/html-end-tags": "off",
Expand All @@ -21,12 +24,18 @@ module.exports = {
"vue/max-attributes-per-line": "off",
"vue/multiline-html-element-content-newline": "off",
"vue/mustache-interpolation-spacing": "off",
"vue/no-extra-parens": "off",
"vue/no-multi-spaces": "off",
"vue/no-spaces-around-equal-signs-in-attribute": "off",
"vue/object-curly-newline": "off",
"vue/object-curly-spacing": "off",
"vue/object-property-newline": "off",
"vue/operator-linebreak": "off",
"vue/script-indent": "off",
"vue/singleline-html-element-content-newline": "off",
"vue/space-in-parens": "off",
"vue/space-infix-ops": "off",
"vue/space-unary-ops": "off",
"vue/template-curly-spacing": "off",
},
};

0 comments on commit fdc25da

Please sign in to comment.