mirror of
https://github.com/nextcloud/server.git
synced 2026-06-22 23:19:34 -04:00
The ESLint comma-dangle rule issues warnings but doesn't fail the CI. Running npm run lint:fix adds missing commas automatically. This often leads to committing unrelated changes. Now, the CI enforces the dangling comma rule. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
18 lines
454 B
JavaScript
18 lines
454 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
import Vue from 'vue'
|
|
import { translate } from '@nextcloud/l10n'
|
|
import ExampleContentSettingsSection from './views/ExampleContentSettingsSection.vue'
|
|
|
|
Vue.mixin({
|
|
methods: {
|
|
t: translate,
|
|
$t: translate,
|
|
},
|
|
})
|
|
|
|
const View = Vue.extend(ExampleContentSettingsSection);
|
|
|
|
(new View({})).$mount('#settings-example-content')
|