Skip to content

Commit

Permalink
Fix eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wginolas committed Apr 2, 2024
1 parent eecfee7 commit 07cddb1
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 38 deletions.
125 changes: 90 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
"stylelint:fix": "stylelint css/*.css css/*.scss src/**/*.scss src/**/*.vue --fix"
},
"dependencies": {
"@nextcloud/auth": "^2.2.1",
"@nextcloud/calendar-js": "^6.0.1",
"@nextcloud/dialogs": "^4.2.1",
"@nextcloud/dialogs": "^4.2.6",
"@nextcloud/files": "^3.0.0",
"@nextcloud/password-confirmation": "^4.0.4",
"@nextcloud/router": "^2.1.2",
Expand Down
4 changes: 2 additions & 2 deletions src/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getFilePickerBuilder } from '@nextcloud/dialogs'
import { saveFileContent, deferredToPromise } from './utils.js'
import { getRequestToken } from '@nextcloud/auth'

import '@nextcloud/dialogs/style.css'
import '@nextcloud/dialogs/style.css' // eslint-disable-line

__webpack_nonce__ = btoa(getRequestToken()) // eslint-disable-line
__webpack_public_path__ = generateFilePath('openincryptpad', '', 'js/') // eslint-disable-line
Expand Down Expand Up @@ -90,7 +90,7 @@ async function onInsertImage(data, callback) {
const share = await createShare(path)
url = window.location.protocol + '//' + window.location.host + generateUrl(`/apps/openincryptpad/share/${share.token}`)
}
callback({ url })
callback({ url }) // eslint-disable-line n/no-callback-literal
}

/**
Expand Down

0 comments on commit 07cddb1

Please sign in to comment.