1
0

feat: eslint enforce vue/component-name-in-template-casing

This commit is contained in:
Dominik Pschenitschni
2024-06-17 17:31:37 +02:00
committed by konrad
parent 8f094c140a
commit 23707fc493
20 changed files with 64 additions and 62 deletions

View File

@ -23,7 +23,9 @@ module.exports = {
// uncategorized rules:
'vue/component-api-style': ['error', ['script-setup']],
'vue/component-name-in-template-casing': ['warn', 'PascalCase'],
'vue/component-name-in-template-casing': ['error', 'PascalCase', {
'globals': ['RouterView', 'RouterLink'],
}],
'vue/custom-event-name-casing': ['error', 'camelCase'],
'vue/define-macros-order': 'error',
'vue/match-component-file-name': ['error', {