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

pull/54070/head
John Molakvoæ 2025-07-23 14:00:15 +07: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

@ -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: {

@ -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) {

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

@ -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"

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

@ -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