From 219757f1ab414080198eea692f8199b89e9da1a8 Mon Sep 17 00:00:00 2001 From: xcatliu Date: Wed, 21 Oct 2020 23:19:41 +0800 Subject: [PATCH] Turn off new eslint-plugin-vue rules (#163) Co-authored-by: Simon Lydell --- README.md | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- vue.js | 2 ++ 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 17cde2e..da52505 100644 --- a/README.md +++ b/README.md @@ -702,7 +702,7 @@ eslint-config-prettier has been tested with: - eslint-plugin-react 7.21.4 - eslint-plugin-standard 4.0.1 - eslint-plugin-unicorn 22.0.0 -- eslint-plugin-vue 7.0.1 +- eslint-plugin-vue 7.1.0 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! diff --git a/package-lock.json b/package-lock.json index ff45fa9..3fda1ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2924,15 +2924,15 @@ } }, "eslint-plugin-vue": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-7.0.1.tgz", - "integrity": "sha512-Pzl88S8Gue9BPcvSg+K/Av2V5UlwGeBxiZW5cLYbDngHm7vLnSuO/q2n54kIyCqfPmuD5PKlJrNSzoN+Ur9HRg==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-7.1.0.tgz", + "integrity": "sha512-9dW7kj8/d2IkDdgNpvIhJdJ3XzU3x4PThXYMzWt49taktYnGyrTY6/bXCYZ/VtQKU9kXPntPrZ41+8Pw0Nxblg==", "dev": true, "requires": { "eslint-utils": "^2.1.0", "natural-compare": "^1.4.0", "semver": "^7.3.2", - "vue-eslint-parser": "^7.1.0" + "vue-eslint-parser": "^7.1.1" } }, "eslint-rule-composer": { diff --git a/package.json b/package.json index ba34b78..a164707 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "eslint-plugin-react": "7.21.4", "eslint-plugin-standard": "4.0.1", "eslint-plugin-unicorn": "22.0.0", - "eslint-plugin-vue": "7.0.1", + "eslint-plugin-vue": "7.1.0", "jest": "26.5.3", "prettier": "2.1.2", "replace": "1.2.0", diff --git a/vue.js b/vue.js index fa05625..d1b0b67 100644 --- a/vue.js +++ b/vue.js @@ -5,9 +5,11 @@ module.exports = { "vue/html-self-closing": 0, "vue/max-len": 0, + "vue/array-bracket-newline": "off", "vue/array-bracket-spacing": "off", "vue/arrow-spacing": "off", "vue/block-spacing": "off", + "vue/block-tag-newline": "off", "vue/brace-style": "off", "vue/comma-dangle": "off", "vue/comma-spacing": "off",