From df2e91cdf9af6a78d1ec84b092c06e73bfccfb7b Mon Sep 17 00:00:00 2001 From: Jake Date: Mon, 21 Dec 2020 16:55:39 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8Deslint=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E7=A7=B0=E9=85=8D=E7=BD=AE=E5=86=B2=E7=AA=81?= =?UTF-8?q?=20(#7782)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vant-eslint-config/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/vant-eslint-config/index.js b/packages/vant-eslint-config/index.js index cc60329d9..011999220 100644 --- a/packages/vant-eslint-config/index.js +++ b/packages/vant-eslint-config/index.js @@ -53,7 +53,10 @@ module.exports = { 'vue/require-v-for-key': 'off', 'vue/require-default-prop': 'off', 'vue/no-unused-components': 'off', - 'vue/name-property-casing': ['error', 'kebab-case'], + 'vue/component-definition-name-casing': [ + 'error', + 'PascalCase' | 'kebab-case', + ], 'vue/component-name-in-template-casing': ['error', 'kebab-case'], // typescript-eslint '@typescript-eslint/camelcase': 'off',