Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump @nextcloud/eslint-config from 8.3.0-beta.2 to 8.3.0 #3639

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
685 changes: 341 additions & 344 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 @@

// push contact to server and use limit
requests.push(limit(() => appendContactToGroup(contact, groupName)
.then((response) => {
.then(() => {

Check warning on line 143 in src/components/EntityPicker/ContactsPicker.vue

View check run for this annotation

Codecov / codecov/patch

src/components/EntityPicker/ContactsPicker.vue#L143

Added line #L143 was not covered by tests
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 @@
/**
* Watch textarea resize and update the gridSize accordingly
*/
resizeHeight: debounce(function(e) {
resizeHeight: debounce(function() {

Check warning on line 203 in src/components/Properties/PropertyText.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Properties/PropertyText.vue#L203

Added line #L203 was not covered by tests
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 @@
.map(addressbook => {
return this.$store.dispatch('getContactsFromAddressBook', { addressbook })
}),
).then(results => {
).then(() => {

Check warning on line 356 in src/views/Contacts.vue

View check run for this annotation

Codecov / codecov/patch

src/views/Contacts.vue#L356

Added line #L356 was not covered by tests
this.loadingContacts = false
if (!this.isMobile && !this.selectedChart) {
this.selectFirstContactIfNone()
Expand Down
Loading