Skip to content

Commit

Permalink
Merge pull request #4421 from nextcloud/renovate/stable25-nextcloud-e…
Browse files Browse the repository at this point in the history
…slint-config-8.x

chore(deps): update dependency @nextcloud/eslint-config to ^8.3.0-beta.2 (stable25)
  • Loading branch information
blizzz authored Jul 11, 2023
2 parents 16a9642 + af35c58 commit 18fe86e
Show file tree
Hide file tree
Showing 31 changed files with 1,045 additions and 310 deletions.
1 change: 0 additions & 1 deletion cypress/e2e/share.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/**
* @copyright Copyright (c) 2020 Julius Härtl <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/shortcuts.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe('keyboard shortcuts', () => {
return cy.uploadFile(
'empty.md',
'text/markdown',
`${Cypress.currentTest.title}.md`
`${Cypress.currentTest.title}.md`,
)
})
.then(() => cy.reloadFileList())
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/chai.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default _chai => {
rect.top < height && rect.bottom > 0 && rect.right <= width && rect.left >= 0,
'expected #{this} to be in the viewport',
'expected #{this} to not be in the viewport',
this._obj
this._obj,
)
})
}
16 changes: 8 additions & 8 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Cypress.Commands.add('shareFile', (path, options = {}) => {
const request = await axios.post(
`${Cypress.env('baseUrl')}/ocs/v2.php/apps/files_sharing/api/v1/shares`,
{ path, shareType: window.OC.Share.SHARE_TYPE_LINK },
{ headers }
{ headers },
)
const token = request.data?.ocs?.data?.token
const id = request.data?.ocs?.data?.id
Expand All @@ -201,7 +201,7 @@ Cypress.Commands.add('shareFile', (path, options = {}) => {
await axios.put(
`${Cypress.env('baseUrl')}/ocs/v2.php/apps/files_sharing/api/v1/shares/${id}`,
{ permissions },
{ headers }
{ headers },
)
cy.log(`Made share ${token} editable.`)
}
Expand All @@ -213,19 +213,19 @@ Cypress.Commands.add('shareFile', (path, options = {}) => {
})

Cypress.Commands.add('createFolder', dirName => cy.window()
.then(win => win.OC.Files.getClient().createDirectory(dirName))
.then(win => win.OC.Files.getClient().createDirectory(dirName)),
)

Cypress.Commands.add('moveFile', (path, destinationPath) => cy.window()
.then(win => win.OC.Files.getClient().move(path, destinationPath))
.then(win => win.OC.Files.getClient().move(path, destinationPath)),
)

Cypress.Commands.add('removeFile', (path) => cy.window()
.then(win => win.OC.Files.getClient().remove(path))
.then(win => win.OC.Files.getClient().remove(path)),
)

Cypress.Commands.add('copyFile', (path, destinationPath) => cy.window()
.then(win => win.OC.Files.getClient().copy(path, destinationPath))
.then(win => win.OC.Files.getClient().copy(path, destinationPath)),
)

Cypress.Commands.add('propfindFolder', (path, depth = 0) => {
Expand Down Expand Up @@ -255,7 +255,7 @@ Cypress.Commands.add('propfindFolder', (path, depth = 0) => {
})

Cypress.Commands.add('reloadFileList', () => cy.window()
.then(win => win.OCA?.Files?.App?.fileList?.reload())
.then(win => win.OCA?.Files?.App?.fileList?.reload()),
)

Cypress.Commands.add('openFolder', (name) => {
Expand Down Expand Up @@ -335,7 +335,7 @@ Cypress.Commands.add('configureText', (key, value) => {
return axios.post(
`${Cypress.env('baseUrl')}/index.php/apps/text/settings`,
{ key, value },
{ headers: { requesttoken: win.OC.requestToken } }
{ headers: { requesttoken: win.OC.requestToken } },
)
})
})
Expand Down
4 changes: 2 additions & 2 deletions js/editor-collab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor-collab.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/editor-rich.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor-rich.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/files-modal.js

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

2 changes: 1 addition & 1 deletion js/files-modal.js.map

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

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 18fe86e

Please sign in to comment.