diff --git a/.eslintrc.js b/.eslintrc.js index 5c1c881c9e..7bade7be4b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -49,6 +49,7 @@ module.exports = { 'no-multi-spaces': ['error'], 'no-multiple-empty-lines': ['error', { 'max': 1 }], 'no-restricted-globals': ['error'].concat(restrictedGlobals), + 'no-return-await': ['error'], 'no-trailing-spaces': ['error'], '@babel/no-unused-expressions': ['error', { 'allowShortCircuit': true, 'allowTernary': true, 'allowTaggedTemplates': true }], 'no-void': ['error', { 'allowAsStatement': true }], diff --git a/src/components/pluginManager.js b/src/components/pluginManager.js index 9efaa8b4b4..998e839739 100644 --- a/src/components/pluginManager.js +++ b/src/components/pluginManager.js @@ -34,7 +34,7 @@ class PluginManager { // translations won't be loaded for skins until needed return plugin; } else { - return await this.#loadStrings(plugin); + return this.#loadStrings(plugin); } }