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

This commit is contained in:
Jake
2020-12-21 16:55:39 +08:00
committed by GitHub
parent 8bbd944ece
commit df2e91cdf9

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