mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
eslint component casing
This commit is contained in:
parent
3254d329d5
commit
adb93f7235
9 changed files with 16 additions and 8 deletions
|
|
@ -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-/'],
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<v-app>
|
||||
<router-view />
|
||||
<RouterView />
|
||||
|
||||
<FragmentSnackQueue />
|
||||
<FragmentDialogConfirmEdit />
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<fragment-history-expand-table :rows="rows" />
|
||||
<FragmentHistoryExpandTable :rows="rows" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<fragment-history-expand-table :rows="rows" />
|
||||
<FragmentHistoryExpandTable :rows="rows" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<fragment-history-expand-table :rows="rows" />
|
||||
<FragmentHistoryExpandTable :rows="rows" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<fragment-history-expand-table :rows="rows" />
|
||||
<FragmentHistoryExpandTable :rows="rows" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<LayoutAppDrawer />
|
||||
|
||||
<v-main scrollable>
|
||||
<router-view />
|
||||
<RouterView />
|
||||
</v-main>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<v-main>
|
||||
<router-view />
|
||||
<RouterView />
|
||||
</v-main>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
fluid
|
||||
class="pa-0 pa-sm-4 h-100 h-sm-auto"
|
||||
>
|
||||
<fragment-history-table />
|
||||
<FragmentHistoryTable />
|
||||
</v-container>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue