Skip to content

Commit a32bcea

Browse files
Merge pull request #63470 from nextcloud/dependabot/npm_and_yarn/stable34/nextcloud/eslint-config-9.0.1
[stable34] build(deps-dev): bump @nextcloud/eslint-config from 9.0.0-rc.9 to 9.0.1
2 parents c3aa648 + 3ef9454 commit a32bcea

51 files changed

Lines changed: 297 additions & 272 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/appstore/src/components/LimitToGroupDialog.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
-->
55

66
<script setup lang="ts">
7+
import type { NcSelectUsersModel } from '@nextcloud/vue/components/NcSelectUsers'
78
import type { IAppstoreApp, IAppstoreExApp } from '../apps.d.ts'
89
910
import { t } from '@nextcloud/l10n'
@@ -12,7 +13,7 @@ import { useDebounceFn } from '@vueuse/core'
1213
import { computed, ref, watch } from 'vue'
1314
import NcButton from '@nextcloud/vue/components/NcButton'
1415
import NcDialog from '@nextcloud/vue/components/NcDialog'
15-
import NcSelectUsers, { type NcSelectUsersModel } from '@nextcloud/vue/components/NcSelectUsers'
16+
import NcSelectUsers from '@nextcloud/vue/components/NcSelectUsers'
1617
import { useAppsStore } from '../store/apps.ts'
1718
import { useGroupsStore } from '../store/groups.ts'
1819

apps/files/src/utils/fileUtils.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
/**
1+
/*!
22
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
5-
import {
6-
type Node,
75

8-
FileType,
9-
} from '@nextcloud/files'
6+
import type { Node } from '@nextcloud/files'
7+
8+
import { FileType } from '@nextcloud/files'
109
import { n } from '@nextcloud/l10n'
1110

1211
/**

apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogDatePassword.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
33
- SPDX-License-Identifier: AGPL-3.0-or-later
44
-->
5+
<!-- eslint-disable vue/custom-event-name-casing -->
56

67
<template>
78
<div>
@@ -87,12 +88,11 @@
8788
</template>
8889

8990
<script lang="ts">
90-
import { t } from '@nextcloud/l10n'
91-
import {
92-
type PropType,
91+
/* eslint-disable vue/custom-event-name-casing */
92+
import type { PropType } from 'vue'
9393
94-
defineComponent,
95-
} from 'vue'
94+
import { t } from '@nextcloud/l10n'
95+
import { defineComponent } from 'vue'
9696
import NcButton from '@nextcloud/vue/components/NcButton'
9797
import NcCheckboxRadioSwitch from '@nextcloud/vue/components/NcCheckboxRadioSwitch'
9898
import NcDateTimePickerNative from '@nextcloud/vue/components/NcDateTimePickerNative'

apps/files_sharing/src/components/SidebarTabExternal/SidebarTabExternalSectionLegacy.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010
</template>
1111

1212
<script lang="ts" setup>
13-
import {
14-
type Component,
15-
type PropType,
13+
import type { Component, PropType } from 'vue'
1614
15+
import {
1716
computed,
1817
} from 'vue'
1918

apps/files_versions/src/components/VirtualScrolling.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
</template>
2424

2525
<script lang="ts">
26-
import {
27-
type PropType,
26+
import type { PropType } from 'vue'
2827
28+
import {
2929
defineComponent,
3030
} from 'vue'
3131
import logger from '../utils/logger.ts'

apps/settings/src/components/SettingsPresets/PresetsSelectionForm.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
-->
55

66
<script setup lang="ts">
7+
import type { PresetAppConfigs, PresetIds } from './models.ts'
8+
79
import { t } from '@nextcloud/l10n'
810
import NcCheckboxRadioSwitch from '@nextcloud/vue/components/NcCheckboxRadioSwitch'
911
import AccountGroupOutline from 'vue-material-design-icons/AccountGroupOutline.vue'
@@ -13,7 +15,6 @@ import Crowd from 'vue-material-design-icons/Crowd.vue'
1315
import Domain from 'vue-material-design-icons/Domain.vue'
1416
import MinusCircleOutline from 'vue-material-design-icons/MinusCircleOutline.vue'
1517
import SchoolOutline from 'vue-material-design-icons/SchoolOutline.vue'
16-
import { type PresetAppConfigs, type PresetIds } from './models.ts'
1718
1819
defineProps({
1920
presets: {

apps/settings/src/components/Users/EditUserDialog.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class="edit-dialog"
99
size="small"
1010
:name="t('settings', 'Edit account')"
11-
outTransition
11+
out-transition
1212
@closing="$emit('closing')">
1313
<form
1414
id="edit-user-form"
@@ -17,9 +17,9 @@
1717
:disabled="saving"
1818
@submit.prevent="save">
1919
<UserFormFields
20-
:fieldConfig="fieldConfig"
20+
:field-config="fieldConfig"
2121
:errors="fieldErrors"
22-
:quotaOptions="quotaOptions" />
22+
:quota-options="quotaOptions" />
2323
</form>
2424

2525
<template #actions>

apps/settings/src/components/Users/UserFormManager.vue

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<template>
77
<div class="user-form__item user-form__managers">
88
<NcSelectUsers
9-
:modelValue="managerModel"
9+
:model-value="managerModel"
1010
class="user-form__select"
1111
:input-label="t('settings', 'Manager')"
1212
:placeholder="t('settings', 'Search for a manager…')"
@@ -75,14 +75,22 @@ export default {
7575
},
7676
7777
methods: {
78-
/** Map NcSelectUsersModel back to internal formData shape */
78+
/**
79+
* Map NcSelectUsersModel back to internal formData shape
80+
*
81+
* @param {import('@nextcloud/vue/components/NcSelectUsers').NcSelectUsersModel} value - The selected user from NcSelectUsers
82+
*/
7983
onManagerChange(value) {
8084
this.formData.manager = value
8185
? { id: value.id, displayname: value.displayName }
8286
: ''
8387
},
8488
85-
/** Debounce keystrokes so a 10-char query produces 1-2 requests, not 10. */
89+
/**
90+
* Debounce keystrokes so a 10-char query produces 1-2 requests, not 10.
91+
*
92+
* @param {string} query - The search query
93+
*/
8694
searchUserManager(query) {
8795
clearTimeout(this.searchTimeout)
8896
this.searchTimeout = setTimeout(() => this.fetchManagers(query), 200)

apps/settings/src/store/users.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,12 @@ const getters = {
350350
const CancelToken = axios.CancelToken
351351
let searchRequestCancelSource = null
352352

353+
/**
354+
* Commit groups from a users response to the store.
355+
*
356+
* @param context - The store context
357+
* @param response - The response from the users API call
358+
*/
353359
function commitGroupsFromUsersResponse(context, response) {
354360
const groups = response.data.ocs.data.groups ?? []
355361
if (groups.length === 0) {

apps/settings/src/views/SettingsApp.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-->
55

66
<template>
7-
<NcContent :class="$style.settingsApp" appName="settings">
7+
<NcContent :class="$style.settingsApp" app-name="settings">
88
<SettingsNavigation />
99
<SettingsContentWrapper />
1010
</NcContent>

0 commit comments

Comments
 (0)