From cbf7bca6d238e37c0793553e9b20ab1e4624bb24 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 19 Jul 2019 15:32:43 +0800 Subject: [PATCH] fix: update vue config --- packages/vue/index.js | 4 +++- packages/vue/package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/vue/index.js b/packages/vue/index.js index 4161ebe..8275397 100644 --- a/packages/vue/index.js +++ b/packages/vue/index.js @@ -10,5 +10,7 @@ module.exports = { plugins: [ 'vue' ], - rules: {} + rules: { + 'vue/max-attributes-per-line': ['warning', { singleline: 5 }], + } } diff --git a/packages/vue/package.json b/packages/vue/package.json index 146274e..232e556 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -19,7 +19,7 @@ "access": "public" }, "dependencies": { - "@antfu/eslint-config": "^0.2.0", + "@antfu/eslint-config": "^0.2.2", "eslint-plugin-nuxt": "0.4.3", "eslint-plugin-vue": "5.2.3" },