From f3f3789011fb892a29d4beec6fbe672d15f5186e Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 22 Aug 2019 19:45:26 +0800 Subject: [PATCH] chore(lint): remove vue/max-attributes-per-line rule (#4196) --- package.json | 2 +- packages/vant-eslint-config/index.js | 1 + packages/vant-eslint-config/package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 184f009f5..4ce4b73e0 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "@types/jest": "^24.0.16", "@vant/cli": "^1.0.2", "@vant/doc": "^2.4.0", - "@vant/eslint-config": "^1.2.4", + "@vant/eslint-config": "^1.2.5", "@vant/markdown-loader": "^2.2.0", "@vant/markdown-vetur": "^1.0.0", "@vant/touch-emulator": "^1.1.0", diff --git a/packages/vant-eslint-config/index.js b/packages/vant-eslint-config/index.js index 477c1169b..4919bbdd5 100644 --- a/packages/vant-eslint-config/index.js +++ b/packages/vant-eslint-config/index.js @@ -58,6 +58,7 @@ module.exports = { 'vue/require-v-for-key': 0, 'vue/require-default-prop': 0, 'vue/no-unused-components': 0, + 'vue/max-attributes-per-line': 0, 'vue/singleline-html-element-content-newline': 0, 'vue/name-property-casing': ['error', 'kebab-case'], 'vue/component-name-in-template-casing': ['error', 'kebab-case'], diff --git a/packages/vant-eslint-config/package.json b/packages/vant-eslint-config/package.json index 4f6055970..0735882b9 100644 --- a/packages/vant-eslint-config/package.json +++ b/packages/vant-eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@vant/eslint-config", - "version": "1.2.4", + "version": "1.2.5", "description": "eslint config of vant.", "main": "index.js", "publishConfig": { diff --git a/yarn.lock b/yarn.lock index 4183506a9..879560862 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1205,10 +1205,10 @@ fs-extra "^4.0.2" shelljs "^0.8.2" -"@vant/eslint-config@^1.2.4": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@vant/eslint-config/-/eslint-config-1.2.4.tgz#a599f56df987b937b2ed96fceddbc63355ab66e2" - integrity sha512-8TTkxz18xFAXRxC41pgVfIPuP5GmgURAw7A9dPZxZkXSPuK6uAzWN2Mgjvp002UNZySSiMvUM1L9d+6FMuwRmA== +"@vant/eslint-config@^1.2.5": + version "1.2.5" + resolved "https://registry.yarnpkg.com/@vant/eslint-config/-/eslint-config-1.2.5.tgz#5451705a89c51270306977a2149f4fb7932f7c97" + integrity sha512-qF6ol7klHOXgs60wWmXvWPuzhJTTU5d5TmI4cAOl6O634RxRDJ9srkJlJFpoJB2pCD8NzTsuUzgRg4M56e6xEw== dependencies: "@typescript-eslint/eslint-plugin" "^1.13.0" "@typescript-eslint/parser" "^1.13.0"