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': [
'error',
{
ignores: ['default', 'index.page'],
ignores: ['+Page'],
},
],
// Optional eslint-comments rule

View File

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

View File

@ -2,4 +2,4 @@ function onHydrationEnd() {
// console.log('Hydration finished; page is now interactive.')
}
export { onHydrationEnd }
export { onHydrationEnd }

View File

@ -3,4 +3,4 @@ function onPageTransitionEnd() {
// document.body.classList.remove('page-transition')
}
export { onPageTransitionEnd }
export { onPageTransitionEnd }

View File

@ -2,5 +2,5 @@ function onPageTransitionStart() {
// console.log('Page transition start')
// document.body.classList.add('page-transition')
}
export { onPageTransitionStart }
export { onPageTransitionStart }

View File

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