Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/src/components/AbsenceForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions apps/dav/src/components/ExampleContentDownloadButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ export default {
name: 'ExampleContentDownloadButton',
components: {
NcButton,
IconDownload
IconDownload,
},
props: {
href: {
type: String,
required: true,
}
},
},
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/src/components/ExampleEventSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/src/settings-example-content.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Vue.mixin({
methods: {
t: translate,
$t: translate,
}
},
})

const View = Vue.extend(ExampleContentSettingsSection);
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/src/views/ExampleContentSettingsSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ export default {
hasCalendarApp() {
return loadState('dav', 'calendarEnabled')
},
}
},
}
</script>
4 changes: 2 additions & 2 deletions dist/dav-settings-example-content.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dav-settings-example-content.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dav-settings-personal-availability.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dav-settings-personal-availability.js.map

Large diffs are not rendered by default.

Loading