fix(eslint): add browser globals

thx @binaryoverload
This commit is contained in:
limes.pink
2025-04-15 15:49:25 +02:00
parent 83da6fb210
commit e6af4df65d
2 changed files with 4 additions and 2 deletions

View File

@@ -16,9 +16,7 @@ function handleDropdownButton(dropdown: boolean | string) {
const scrollY = ref<number>(0);
onMounted(() => {
// eslint-disable-next-line no-undef -- we're in on mounted so it should be fine
window.addEventListener('scroll', () => {
// eslint-disable-next-line no-undef -- same here
scrollY.value = window.scrollY;
});
});