Skip to content

Commit 18fe86e

Browse files
authored
Merge pull request #4421 from nextcloud/renovate/stable25-nextcloud-eslint-config-8.x
chore(deps): update dependency @nextcloud/eslint-config to ^8.3.0-beta.2 (stable25)
2 parents 16a9642 + af35c58 commit 18fe86e

31 files changed

+1045
-310
lines changed

cypress/e2e/share.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/**
32
* @copyright Copyright (c) 2020 Julius Härtl <jus@bitgrid.net>
43
*

cypress/e2e/shortcuts.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ describe('keyboard shortcuts', () => {
7272
return cy.uploadFile(
7373
'empty.md',
7474
'text/markdown',
75-
`${Cypress.currentTest.title}.md`
75+
`${Cypress.currentTest.title}.md`,
7676
)
7777
})
7878
.then(() => cy.reloadFileList())

cypress/support/chai.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default _chai => {
1010
rect.top < height && rect.bottom > 0 && rect.right <= width && rect.left >= 0,
1111
'expected #{this} to be in the viewport',
1212
'expected #{this} to not be in the viewport',
13-
this._obj
13+
this._obj,
1414
)
1515
})
1616
}

cypress/support/commands.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Cypress.Commands.add('shareFile', (path, options = {}) => {
185185
const request = await axios.post(
186186
`${Cypress.env('baseUrl')}/ocs/v2.php/apps/files_sharing/api/v1/shares`,
187187
{ path, shareType: window.OC.Share.SHARE_TYPE_LINK },
188-
{ headers }
188+
{ headers },
189189
)
190190
const token = request.data?.ocs?.data?.token
191191
const id = request.data?.ocs?.data?.id
@@ -201,7 +201,7 @@ Cypress.Commands.add('shareFile', (path, options = {}) => {
201201
await axios.put(
202202
`${Cypress.env('baseUrl')}/ocs/v2.php/apps/files_sharing/api/v1/shares/${id}`,
203203
{ permissions },
204-
{ headers }
204+
{ headers },
205205
)
206206
cy.log(`Made share ${token} editable.`)
207207
}
@@ -213,19 +213,19 @@ Cypress.Commands.add('shareFile', (path, options = {}) => {
213213
})
214214

215215
Cypress.Commands.add('createFolder', dirName => cy.window()
216-
.then(win => win.OC.Files.getClient().createDirectory(dirName))
216+
.then(win => win.OC.Files.getClient().createDirectory(dirName)),
217217
)
218218

219219
Cypress.Commands.add('moveFile', (path, destinationPath) => cy.window()
220-
.then(win => win.OC.Files.getClient().move(path, destinationPath))
220+
.then(win => win.OC.Files.getClient().move(path, destinationPath)),
221221
)
222222

223223
Cypress.Commands.add('removeFile', (path) => cy.window()
224-
.then(win => win.OC.Files.getClient().remove(path))
224+
.then(win => win.OC.Files.getClient().remove(path)),
225225
)
226226

227227
Cypress.Commands.add('copyFile', (path, destinationPath) => cy.window()
228-
.then(win => win.OC.Files.getClient().copy(path, destinationPath))
228+
.then(win => win.OC.Files.getClient().copy(path, destinationPath)),
229229
)
230230

231231
Cypress.Commands.add('propfindFolder', (path, depth = 0) => {
@@ -255,7 +255,7 @@ Cypress.Commands.add('propfindFolder', (path, depth = 0) => {
255255
})
256256

257257
Cypress.Commands.add('reloadFileList', () => cy.window()
258-
.then(win => win.OCA?.Files?.App?.fileList?.reload())
258+
.then(win => win.OCA?.Files?.App?.fileList?.reload()),
259259
)
260260

261261
Cypress.Commands.add('openFolder', (name) => {
@@ -335,7 +335,7 @@ Cypress.Commands.add('configureText', (key, value) => {
335335
return axios.post(
336336
`${Cypress.env('baseUrl')}/index.php/apps/text/settings`,
337337
{ key, value },
338-
{ headers: { requesttoken: win.OC.requestToken } }
338+
{ headers: { requesttoken: win.OC.requestToken } },
339339
)
340340
})
341341
})

js/editor-collab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/editor-collab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/editor-rich.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/editor-rich.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/editor.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/editor.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)