chore: 修复eslint 组件名称配置冲突 (#7782)

This commit is contained in:
Jake 2020-12-21 16:55:39 +08:00 committed by GitHub
parent 8bbd944ece
commit df2e91cdf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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