Merge pull request #54057 from nextcloud/chore-enforce-dangling-comma

This commit is contained in:
John Molakvoæ 2025-07-23 14:00:15 +02:00 committed by GitHub
commit c7bf997ae6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 14 additions and 12 deletions

View file

@ -22,6 +22,7 @@ module.exports = {
'plugin:cypress/recommended',
],
rules: {
'comma-dangle': 'error',
'no-tabs': 'warn',
// TODO: make sure we fix this as this is bad vue coding style.
// Use proper sync modifier
@ -30,6 +31,7 @@ module.exports = {
// allows custom xxxx:xxx events formats
ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
}],
'vue/html-self-closing': 'error',
},
settings: {
jsdoc: {

View file

@ -219,7 +219,7 @@ export default {
lastDay: formatDateAsYMD(this.lastDay),
status: this.status,
message: this.message,
replacementUserId: this.replacementUser?.user ?? null
replacementUserId: this.replacementUser?.user ?? null,
})
showSuccess(this.$t('dav', 'Absence saved'))
} catch (error) {

View file

@ -26,13 +26,13 @@ export default {
name: 'ExampleContentDownloadButton',
components: {
NcButton,
IconDownload
IconDownload,
},
props: {
href: {
type: String,
required: true,
}
},
},
}
</script>

View file

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

View file

@ -10,7 +10,7 @@ Vue.mixin({
methods: {
t: translate,
$t: translate,
}
},
})
const View = Vue.extend(ExampleContentSettingsSection);

View file

@ -33,6 +33,6 @@ export default {
hasCalendarApp() {
return loadState('dav', 'calendarEnabled')
},
}
},
}
</script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long