diff --git a/eslint.config.mjs b/eslint.config.mjs
index 71e352e0d3..cf85b9cbe1 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -83,5 +83,26 @@ export default defineConfig([
'@stylistic/generator-star-spacing': 0,
'@stylistic/yield-star-spacing': ['error', 'after'],
},
- }
+ },
+ {
+ files: [
+ 'src/pretix/static/pretixcontrol/js/ui/checkinrules/**/*.vue',
+ 'src/pretix/plugins/webcheckin/**/*.vue',
+ ],
+ languageOptions: {
+ globals: {
+ moment: 'readonly',
+ },
+ },
+ },
+ {
+ files: [
+ 'src/pretix/static/pretixpresale/widget/**/*.{ts,vue}',
+ ],
+ languageOptions: {
+ globals: {
+ LANG: 'readonly',
+ },
+ },
+ },
])
diff --git a/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/datefield.vue b/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/datefield.vue
index 144918bc25..838deae3ac 100644
--- a/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/datefield.vue
+++ b/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/datefield.vue
@@ -60,5 +60,5 @@ onUnmounted(() => {
})
-input.form-control(ref="input", :id="id", :required="required")
+input.form-control(:id="id", ref="input", :required="required")
diff --git a/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/datetimefield.vue b/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/datetimefield.vue
index 330826a39f..823b09842b 100644
--- a/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/datetimefield.vue
+++ b/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/datetimefield.vue
@@ -61,5 +61,5 @@ onUnmounted(() => {
})
-input.form-control(ref="input", :id="id", :required="required")
+input.form-control(:id="id", ref="input", :required="required")
diff --git a/src/pretix/static/pretixpresale/widget/src/components/EventForm.vue b/src/pretix/static/pretixpresale/widget/src/components/EventForm.vue
index b17041c219..73c9d96151 100644
--- a/src/pretix/static/pretixpresale/widget/src/components/EventForm.vue
+++ b/src/pretix/static/pretixpresale/widget/src/components/EventForm.vue
@@ -81,7 +81,7 @@ function calcItemsSelected () {
isItemsSelected.value = hasChecked || hasQuantity
}
-function focusVoucherField () {
+function _focusVoucherField () {
voucherinput.value?.focus()
}
diff --git a/src/pretix/static/pretixpresale/widget/src/components/Item.vue b/src/pretix/static/pretixpresale/widget/src/components/Item.vue
index b353cdaee3..260ee6987e 100644
--- a/src/pretix/static/pretixpresale/widget/src/components/Item.vue
+++ b/src/pretix/static/pretixpresale/widget/src/components/Item.vue
@@ -1,5 +1,5 @@