Skip to content

Commit

Permalink
Merge pull request #3639 from nextcloud/dependabot/npm_and_yarn/nextc…
Browse files Browse the repository at this point in the history
…loud/eslint-config-8.3.0
  • Loading branch information
st3iny authored Oct 18, 2023
2 parents ce25c99 + 5bc382b commit b28e2e9
Show file tree
Hide file tree
Showing 11 changed files with 269 additions and 268 deletions.
519 changes: 257 additions & 262 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@babel/preset-env": "^7.22.20",
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/browserslist-config": "^3.0.0",
"@nextcloud/eslint-config": "^8.3.0-beta.2",
"@nextcloud/eslint-config": "^8.3.0",
"@nextcloud/stylelint-config": "^2.3.0",
"@nextcloud/typings": "^1.7.0",
"@nextcloud/webpack-vue-config": "^5.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppNavigation/ContactsSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default {
this.enableSocialSyncLoading = false
}
},
onLoad(event) {
onLoad() {
this.$emit('file-loaded', false)
},
async onOpen() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/components/EntityPicker/ContactsPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down
2 changes: 1 addition & 1 deletion src/components/Properties/PropertyText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/models/circle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down
1 change: 1 addition & 0 deletions src/models/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/models/member.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down
2 changes: 2 additions & 0 deletions src/services/circles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/views/Contacts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b28e2e9

Please sign in to comment.