1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3796 from Stromwerk/no-return-await

This commit is contained in:
Cody Robibero 2022-08-13 08:00:30 -06:00 committed by GitHub
commit e5c36fbeeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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 }],

View file

@ -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);
}
}