eslint component casing

This commit is contained in:
Gauthier Roebroeck 2025-10-10 13:50:53 +08:00
parent 3254d329d5
commit adb93f7235
9 changed files with 16 additions and 8 deletions

View file

@ -50,6 +50,14 @@ export default defineConfigWithVueTs(
'no-empty': ['error', { allowEmptyCatch: true }],
'vue/multi-word-component-names': 'off',
'vue/require-default-prop': 'off',
'vue/component-name-in-template-casing': [
'error',
'PascalCase',
{
registeredComponentsOnly: false,
ignores: ['/^v-/'],
},
],
},
},

View file

@ -1,6 +1,6 @@
<template>
<v-app>
<router-view />
<RouterView />
<FragmentSnackQueue />
<FragmentDialogConfirmEdit />

View file

@ -1,5 +1,5 @@
<template>
<fragment-history-expand-table :rows="rows" />
<FragmentHistoryExpandTable :rows="rows" />
</template>
<script setup lang="ts">

View file

@ -1,5 +1,5 @@
<template>
<fragment-history-expand-table :rows="rows" />
<FragmentHistoryExpandTable :rows="rows" />
</template>
<script setup lang="ts">

View file

@ -1,5 +1,5 @@
<template>
<fragment-history-expand-table :rows="rows" />
<FragmentHistoryExpandTable :rows="rows" />
</template>
<script setup lang="ts">

View file

@ -1,5 +1,5 @@
<template>
<fragment-history-expand-table :rows="rows" />
<FragmentHistoryExpandTable :rows="rows" />
</template>
<script setup lang="ts">

View file

@ -4,7 +4,7 @@
<LayoutAppDrawer />
<v-main scrollable>
<router-view />
<RouterView />
</v-main>
</template>

View file

@ -1,6 +1,6 @@
<template>
<v-main>
<router-view />
<RouterView />
</v-main>
</template>

View file

@ -3,7 +3,7 @@
fluid
class="pa-0 pa-sm-4 h-100 h-sm-auto"
>
<fragment-history-table />
<FragmentHistoryTable />
</v-container>
</template>