lint fixes

This commit is contained in:
Ulf Gebhardt 2023-12-27 07:28:07 +01:00
parent b5d07427f5
commit 91781722b7
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
6 changed files with 8 additions and 8 deletions

View File

@ -43,7 +43,7 @@ module.exports = {
'vue/multi-word-component-names': [ 'vue/multi-word-component-names': [
'error', 'error',
{ {
ignores: ['default', 'index.page'], ignores: ['+Page'],
}, },
], ],
// Optional eslint-comments rule // Optional eslint-comments rule

View File

@ -2,5 +2,5 @@
export default { export default {
clientRouting: true, clientRouting: true,
prefetchStaticAssets: 'viewport', prefetchStaticAssets: 'viewport',
passToClient: ['pageProps', /* 'urlPathname', */ 'routeParams'] passToClient: ['pageProps', /* 'urlPathname', */ 'routeParams'],
} }

View File

@ -2,7 +2,7 @@ import { VueWrapper, mount } from '@vue/test-utils'
import { describe, it, expect, beforeEach } from 'vitest' import { describe, it, expect, beforeEach } from 'vitest'
import { ComponentPublicInstance } from 'vue' import { ComponentPublicInstance } from 'vue'
import ErrorPage from './_error.page.vue' import ErrorPage from './+Page.vue'
describe('ErrorPage', () => { describe('ErrorPage', () => {
let wrapper: VueWrapper<unknown, ComponentPublicInstance<unknown, Omit<unknown, never>>> let wrapper: VueWrapper<unknown, ComponentPublicInstance<unknown, Omit<unknown, never>>>