diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2023-10-18 10:03:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 10:03:58 +0200 |
commit | b28e2e988c5a2257cd6b2ae3b0e4522e4390b0d8 (patch) | |
tree | ced4bfa8662c5811da05f219e02a3504664ac885 /src | |
parent | ce25c9912b1312cde84cc139fd692dd98c017466 (diff) | |
parent | 5bc382bcef614240408ea4d20cea82eb2fb27624 (diff) |
Merge pull request #3639 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-8.3.0
Diffstat (limited to 'src')
-rw-r--r-- | src/components/AppNavigation/ContactsSettings.vue | 2 | ||||
-rw-r--r-- | src/components/AppNavigation/Settings/SettingsAddressbook.vue | 2 | ||||
-rw-r--r-- | src/components/EntityPicker/ContactsPicker.vue | 2 | ||||
-rw-r--r-- | src/components/Properties/PropertyText.vue | 2 | ||||
-rw-r--r-- | src/models/circle.ts | 1 | ||||
-rw-r--r-- | src/models/constants.ts | 1 | ||||
-rw-r--r-- | src/models/member.ts | 2 | ||||
-rw-r--r-- | src/services/circles.ts | 2 | ||||
-rw-r--r-- | src/views/Contacts.vue | 2 |
9 files changed, 11 insertions, 5 deletions
diff --git a/src/components/AppNavigation/ContactsSettings.vue b/src/components/AppNavigation/ContactsSettings.vue index bb2f1d3b..a731abbc 100644 --- a/src/components/AppNavigation/ContactsSettings.vue +++ b/src/components/AppNavigation/ContactsSettings.vue @@ -132,7 +132,7 @@ export default { this.enableSocialSyncLoading = false } }, - onLoad(event) { + onLoad() { this.$emit('file-loaded', false) }, async onOpen() { diff --git a/src/components/AppNavigation/Settings/SettingsAddressbook.vue b/src/components/AppNavigation/Settings/SettingsAddressbook.vue index 09645158..0287e033 100644 --- a/src/components/AppNavigation/Settings/SettingsAddressbook.vue +++ b/src/components/AppNavigation/Settings/SettingsAddressbook.vue @@ -306,7 +306,7 @@ export default { renameAddressbook() { this.editingName = true }, - async updateAddressbookName(e) { + async updateAddressbookName() { const addressbook = this.addressbook // New name for addressbook - inputed value from form const newName = this.$refs.renameInput.$el.querySelector('input[type="text"]').value diff --git a/src/components/EntityPicker/ContactsPicker.vue b/src/components/EntityPicker/ContactsPicker.vue index 5fa727b9..e35813ed 100644 --- a/src/components/EntityPicker/ContactsPicker.vue +++ b/src/components/EntityPicker/ContactsPicker.vue @@ -140,7 +140,7 @@ export default { // push contact to server and use limit requests.push(limit(() => appendContactToGroup(contact, groupName) - .then((response) => { + .then(() => { this.$store.dispatch('addContactToGroup', { contact, groupName }) this.processStatus.progress++ this.processStatus.success++ diff --git a/src/components/Properties/PropertyText.vue b/src/components/Properties/PropertyText.vue index c7a85958..73ae88e2 100644 --- a/src/components/Properties/PropertyText.vue +++ b/src/components/Properties/PropertyText.vue @@ -200,7 +200,7 @@ export default { /** * Watch textarea resize and update the gridSize accordingly */ - resizeHeight: debounce(function(e) { + resizeHeight: debounce(function() { if (this.$refs.textarea && this.$refs.textarea.offsetHeight) { // adjust textarea size to content (2 = border) this.$refs.textarea.style.height = `${this.$refs.textarea.scrollHeight + 2}px` diff --git a/src/models/circle.ts b/src/models/circle.ts index 97c9465b..972654fd 100644 --- a/src/models/circle.ts +++ b/src/models/circle.ts @@ -27,6 +27,7 @@ import { CircleConfigs, MemberLevels } from './constants' type MemberList = Record<string, Member> +/* eslint-disable @typescript-eslint/no-explicit-any */ export default class Circle { _data: any = {} diff --git a/src/models/constants.ts b/src/models/constants.ts index 2b621976..830988c8 100644 --- a/src/models/constants.ts +++ b/src/models/constants.ts @@ -59,6 +59,7 @@ const MEMBER_LEVEL_ADMIN: MemberLevel = 8 const MEMBER_LEVEL_OWNER: MemberLevel = 9 // Circles member types +/* eslint-disable-next-line @typescript-eslint/no-unused-vars */ const MEMBER_TYPE_SINGLEID: MemberType = 0 const MEMBER_TYPE_USER: MemberType = 1 const MEMBER_TYPE_GROUP : MemberType = 2 diff --git a/src/models/member.ts b/src/models/member.ts index 3713cbcd..6a13223b 100644 --- a/src/models/member.ts +++ b/src/models/member.ts @@ -23,6 +23,8 @@ import { MemberLevel, MemberLevels, MemberType, MemberTypes } from './constants' import Circle from './circle' import logger from '../services/logger.js' + +/* eslint-disable @typescript-eslint/no-explicit-any */ export default class Member { _data: any = {} diff --git a/src/services/circles.ts b/src/services/circles.ts index 374b29d5..65cf6528 100644 --- a/src/services/circles.ts +++ b/src/services/circles.ts @@ -90,6 +90,7 @@ export const deleteCircle = async function(circleId: string) { return response.data.ocs.data } +/* eslint-disable @typescript-eslint/no-explicit-any */ /** * Edit an existing circle * @@ -103,6 +104,7 @@ export const editCircle = async function(circleId: string, type: CircleEditType, const response = await axios.put(generateOcsUrl('apps/circles/circles/{circleId}/{type}', { circleId, type }), { value }) return response.data.ocs.data } +/* eslint-enable @typescript-eslint/no-explicit-any */ /** * Join a circle diff --git a/src/views/Contacts.vue b/src/views/Contacts.vue index 53f134e7..5820dcb4 100644 --- a/src/views/Contacts.vue +++ b/src/views/Contacts.vue @@ -353,7 +353,7 @@ export default { .map(addressbook => { return this.$store.dispatch('getContactsFromAddressBook', { addressbook }) }), - ).then(results => { + ).then(() => { this.loadingContacts = false if (!this.isMobile && !this.selectedChart) { this.selectFirstContactIfNone() |