mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #54057 from nextcloud/chore-enforce-dangling-comma
This commit is contained in:
commit
c7bf997ae6
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>
|
||||
|
|
|
|||
4
dist/dav-settings-example-content.js
vendored
4
dist/dav-settings-example-content.js
vendored
File diff suppressed because one or more lines are too long
2
dist/dav-settings-example-content.js.map
vendored
2
dist/dav-settings-example-content.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/dav-settings-personal-availability.js
vendored
4
dist/dav-settings-personal-availability.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue