mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
lint fixes
This commit is contained in:
parent
b5d07427f5
commit
91781722b7
@ -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
|
||||||
|
|||||||
@ -2,5 +2,5 @@
|
|||||||
export default {
|
export default {
|
||||||
clientRouting: true,
|
clientRouting: true,
|
||||||
prefetchStaticAssets: 'viewport',
|
prefetchStaticAssets: 'viewport',
|
||||||
passToClient: ['pageProps', /* 'urlPathname', */ 'routeParams']
|
passToClient: ['pageProps', /* 'urlPathname', */ 'routeParams'],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,4 +2,4 @@ function onHydrationEnd() {
|
|||||||
// console.log('Hydration finished; page is now interactive.')
|
// console.log('Hydration finished; page is now interactive.')
|
||||||
}
|
}
|
||||||
|
|
||||||
export { onHydrationEnd }
|
export { onHydrationEnd }
|
||||||
|
|||||||
@ -3,4 +3,4 @@ function onPageTransitionEnd() {
|
|||||||
// document.body.classList.remove('page-transition')
|
// document.body.classList.remove('page-transition')
|
||||||
}
|
}
|
||||||
|
|
||||||
export { onPageTransitionEnd }
|
export { onPageTransitionEnd }
|
||||||
|
|||||||
@ -2,5 +2,5 @@ function onPageTransitionStart() {
|
|||||||
// console.log('Page transition start')
|
// console.log('Page transition start')
|
||||||
// document.body.classList.add('page-transition')
|
// document.body.classList.add('page-transition')
|
||||||
}
|
}
|
||||||
|
|
||||||
export { onPageTransitionStart }
|
export { onPageTransitionStart }
|
||||||
|
|||||||
@ -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>>>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user