Fix linting according to new rules, and disable buggy rules.

This commit is contained in:
John Livingston
2024-10-08 17:23:10 +02:00
parent 6836138fc1
commit bb992e29a6
6 changed files with 15 additions and 4 deletions

View File

@ -757,6 +757,7 @@ class ExternalAuthOIDC {
* @throws Error
* @returns the singleton
*/
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
public static singleton (singletonType: ExternalAuthOIDCType | string): ExternalAuthOIDC {
if (!singletons) {
throw new Error('ExternalAuthOIDC singletons are not initialized yet')