diff options
-rw-r--r-- | .eslintrc.js | 1 | ||||
-rw-r--r-- | apps/dav/src/components/AbsenceForm.vue | 2 | ||||
-rw-r--r-- | apps/dav/src/components/ExampleContentDownloadButton.vue | 4 | ||||
-rw-r--r-- | apps/dav/src/settings-example-content.js | 2 | ||||
-rw-r--r-- | apps/dav/src/views/ExampleContentSettingsSection.vue | 2 |
5 files changed, 6 insertions, 5 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 23dc753f8b9..07941490c9c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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 diff --git a/apps/dav/src/components/AbsenceForm.vue b/apps/dav/src/components/AbsenceForm.vue index 18c60ba4dd4..5350c04a565 100644 --- a/apps/dav/src/components/AbsenceForm.vue +++ b/apps/dav/src/components/AbsenceForm.vue @@ -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) { diff --git a/apps/dav/src/components/ExampleContentDownloadButton.vue b/apps/dav/src/components/ExampleContentDownloadButton.vue index d3ee793eddc..6ee13e057bd 100644 --- a/apps/dav/src/components/ExampleContentDownloadButton.vue +++ b/apps/dav/src/components/ExampleContentDownloadButton.vue @@ -26,13 +26,13 @@ export default { name: 'ExampleContentDownloadButton', components: { NcButton, - IconDownload + IconDownload, }, props: { href: { type: String, required: true, - } + }, }, } </script> diff --git a/apps/dav/src/settings-example-content.js b/apps/dav/src/settings-example-content.js index ca0291ace4f..fdeba642a67 100644 --- a/apps/dav/src/settings-example-content.js +++ b/apps/dav/src/settings-example-content.js @@ -10,7 +10,7 @@ Vue.mixin({ methods: { t: translate, $t: translate, - } + }, }) const View = Vue.extend(ExampleContentSettingsSection); diff --git a/apps/dav/src/views/ExampleContentSettingsSection.vue b/apps/dav/src/views/ExampleContentSettingsSection.vue index 5e65a1ba3b4..3ee2d9e8648 100644 --- a/apps/dav/src/views/ExampleContentSettingsSection.vue +++ b/apps/dav/src/views/ExampleContentSettingsSection.vue @@ -33,6 +33,6 @@ export default { hasCalendarApp() { return loadState('dav', 'calendarEnabled') }, - } + }, } </script> |