chore(lint): remove vue/max-attributes-per-line rule (#4196)

This commit is contained in:
neverland 2019-08-22 19:45:26 +08:00 committed by GitHub
parent 664c1dd29c
commit f3f3789011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 6 deletions

View File

@ -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",

View File

@ -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'],

View File

@ -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": {

View File

@ -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"