diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2022-01-12 15:48:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 15:48:36 +0100 |
commit | 2e1491771e47eb02d297215eba6e6ce0019fc9c1 (patch) | |
tree | f327c9ae125cbddd86a1da588b3562d08b3bbe65 /apps/files/src | |
parent | db9fbc93072049b8816a683ca015ba53976db03a (diff) | |
parent | bfdfafde79a17b1683467c800cf2a63ba14fb1a0 (diff) | |
download | nextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.tar.gz nextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.zip |
Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
Diffstat (limited to 'apps/files/src')
-rw-r--r-- | apps/files/src/files-app-settings.js | 2 | ||||
-rw-r--r-- | apps/files/src/legacy/filelistSearch.js | 2 | ||||
-rw-r--r-- | apps/files/src/logger.js | 2 | ||||
-rw-r--r-- | apps/files/src/main-personal-settings.js | 2 | ||||
-rw-r--r-- | apps/files/src/models/Setting.js | 3 | ||||
-rw-r--r-- | apps/files/src/models/Tab.js | 2 | ||||
-rw-r--r-- | apps/files/src/services/FileInfo.js | 4 | ||||
-rw-r--r-- | apps/files/src/services/Settings.js | 2 | ||||
-rw-r--r-- | apps/files/src/services/Sidebar.js | 2 | ||||
-rw-r--r-- | apps/files/src/services/Templates.js | 2 | ||||
-rw-r--r-- | apps/files/src/sidebar.js | 2 | ||||
-rw-r--r-- | apps/files/src/templates.js | 2 | ||||
-rw-r--r-- | apps/files/src/utils/davUtils.js | 2 | ||||
-rw-r--r-- | apps/files/src/utils/fileUtils.js | 2 |
14 files changed, 16 insertions, 15 deletions
diff --git a/apps/files/src/files-app-settings.js b/apps/files/src/files-app-settings.js index 0d8f84cb7a8..491ea127ccd 100644 --- a/apps/files/src/files-app-settings.js +++ b/apps/files/src/files-app-settings.js @@ -5,7 +5,7 @@ * @author Gary Kim <gary@garykim.dev> * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/legacy/filelistSearch.js b/apps/files/src/legacy/filelistSearch.js index 712813e6050..9512f47eccc 100644 --- a/apps/files/src/legacy/filelistSearch.js +++ b/apps/files/src/legacy/filelistSearch.js @@ -3,7 +3,7 @@ * * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/logger.js b/apps/files/src/logger.js index b487e7caa9f..0005ee13cb4 100644 --- a/apps/files/src/logger.js +++ b/apps/files/src/logger.js @@ -4,7 +4,7 @@ * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @author Roeland Jago Douma <roeland@famdouma.nl> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/main-personal-settings.js b/apps/files/src/main-personal-settings.js index b0176d5c30d..1d1942e85bb 100644 --- a/apps/files/src/main-personal-settings.js +++ b/apps/files/src/main-personal-settings.js @@ -5,7 +5,7 @@ * * @author Roeland Jago Douma <roeland@famdouma.nl> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/models/Setting.js b/apps/files/src/models/Setting.js index 128c28d8679..db276da85af 100644 --- a/apps/files/src/models/Setting.js +++ b/apps/files/src/models/Setting.js @@ -4,7 +4,7 @@ * * @author Gary Kim <gary@garykim.dev> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -33,6 +33,7 @@ export default class Setting { * * @since 19.0.0 * @param {string} name the name of this setting + * @param {object} component the component * @param {Function} component.el function that returns an unmounted dom element to be added * @param {Function} [component.open] callback for when setting is added * @param {Function} [component.close] callback for when setting is closed diff --git a/apps/files/src/models/Tab.js b/apps/files/src/models/Tab.js index e2c3d931024..4c41ec5a3b1 100644 --- a/apps/files/src/models/Tab.js +++ b/apps/files/src/models/Tab.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/services/FileInfo.js b/apps/files/src/services/FileInfo.js index a94436e16a5..8b62063e134 100644 --- a/apps/files/src/services/FileInfo.js +++ b/apps/files/src/services/FileInfo.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -23,7 +23,7 @@ import axios from '@nextcloud/axios' /** - * @param url + * @param {any} url - */ export default async function(url) { const response = await axios({ diff --git a/apps/files/src/services/Settings.js b/apps/files/src/services/Settings.js index 887a0400513..83c2c850580 100644 --- a/apps/files/src/services/Settings.js +++ b/apps/files/src/services/Settings.js @@ -3,7 +3,7 @@ * * @author Gary Kim <gary@garykim.dev> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/services/Sidebar.js b/apps/files/src/services/Sidebar.js index 6db1d5fa5e4..e28dacb6b21 100644 --- a/apps/files/src/services/Sidebar.js +++ b/apps/files/src/services/Sidebar.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/services/Templates.js b/apps/files/src/services/Templates.js index b466def408f..c242f9ae82d 100644 --- a/apps/files/src/services/Templates.js +++ b/apps/files/src/services/Templates.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/sidebar.js b/apps/files/src/sidebar.js index 8ae6cee4164..58b798ed0e7 100644 --- a/apps/files/src/sidebar.js +++ b/apps/files/src/sidebar.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/templates.js b/apps/files/src/templates.js index a1a88f85106..7f7ebbf2dcc 100644 --- a/apps/files/src/templates.js +++ b/apps/files/src/templates.js @@ -4,7 +4,7 @@ * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/utils/davUtils.js b/apps/files/src/utils/davUtils.js index 513821df411..1bd63347518 100644 --- a/apps/files/src/utils/davUtils.js +++ b/apps/files/src/utils/davUtils.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/utils/fileUtils.js b/apps/files/src/utils/fileUtils.js index f37e939e174..5ab88c6eb63 100644 --- a/apps/files/src/utils/fileUtils.js +++ b/apps/files/src/utils/fileUtils.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as |