style: enforce vue/html-self-closing

The ESLint vue/html-self-closing rule issues warnings but doesn't fail
the CI. Now, the CI enforces the vue/html-self-closing rule.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/54057/head
Daniel Kesselberg 2025-07-23 13:08:46 +07:00
parent 4a571fc391
commit 4d9e8d128b
No known key found for this signature in database
GPG Key ID: 4A81C29F63464E8F
2 changed files with 2 additions and 1 deletions

@ -31,6 +31,7 @@ module.exports = {
// allows custom xxxx:xxx events formats // allows custom xxxx:xxx events formats
ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'], ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
}], }],
'vue/html-self-closing': 'error',
}, },
settings: { settings: {
jsdoc: { jsdoc: {

@ -47,7 +47,7 @@
type="file" type="file"
accept=".ics,text/calendar" accept=".ics,text/calendar"
class="import-event-modal__file-picker" class="import-event-modal__file-picker"
@change="selectFile" /> @change="selectFile">
<div class="import-event-modal__buttons"> <div class="import-event-modal__buttons">
<NcButton :disabled="uploading || !selectedFile" <NcButton :disabled="uploading || !selectedFile"
type="primary" type="primary"