Skip to content

Commit ce1d2de

Browse files
committed
chore: tweaks
1 parent b53a245 commit ce1d2de

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Diff for: .eslintrc.cjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ module.exports = {
22
root: true,
33
extends: 'vuepress',
44
globals: {
5-
// workaround for vue3.3 slots
6-
defineSlots: 'readonly',
75
__VUEPRESS_VERSION__: 'readonly',
86
__VUEPRESS_BASE__: 'readonly',
97
__VUEPRESS_DEV__: 'readonly',
108
__VUEPRESS_SSR__: 'readonly',
119
__VUE_HMR_RUNTIME__: 'readonly',
1210
__VUE_OPTIONS_API__: 'readonly',
1311
__VUE_PROD_DEVTOOLS__: 'readonly',
12+
// workaround for vue3.3 slots, should be removed once eslint-plugin-vue supports this
13+
defineSlots: 'readonly',
1414
},
1515
overrides: [
1616
{

Diff for: ecosystem/theme-default/src/client/components/Navbar.vue

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
defineEmits<{
1414
(e: 'toggle-sidebar'): void
1515
}>()
16+
1617
defineSlots<{
1718
before?: (props: Record<never, never>) => any
1819
after?: (props: Record<never, never>) => any

Diff for: ecosystem/theme-default/src/client/components/global/Badge.vue

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ defineProps({
1616
default: undefined,
1717
},
1818
})
19+
1920
defineSlots<{
2021
default?: () => any
2122
}>()

0 commit comments

Comments
 (0)