Skip to content

Commit

Permalink
Ignore existing violations of typescript-eslint strict rules
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed Oct 24, 2024
1 parent 6f37929 commit 95ddd5d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/commandHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { reportPlaybackProgress } from './jellyfinActions';
import { PlaybackManager } from './playbackManager';
import { DocumentManager } from './documentManager';

// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export abstract class CommandHandler {
private static playerManager: framework.PlayerManager;
private static supportedCommands: SupportedCommands = {
Expand Down
1 change: 1 addition & 0 deletions src/components/credentialManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export class credentialManager {
*/
remove(serverId: string): boolean {
if (serverId in this.credentialStore) {
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete
delete this.credentialStore[serverId];

return true;
Expand Down
1 change: 1 addition & 0 deletions src/components/documentManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { parseISO8601Date, TicksPerSecond, ticksToSeconds } from '../helpers';
import { JellyfinApi } from './jellyfinApi';
import { deviceIds, getActiveDeviceId } from './castDevices';

// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export abstract class DocumentManager {
// Duration between each backdrop switch in ms
private static backdropPeriodMs: number | null = 30000;
Expand Down
1 change: 1 addition & 0 deletions src/components/jellyfinApi.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { version as packageVersion } from '../../package.json';
import { ajax } from './fetchhelper';

// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export abstract class JellyfinApi {
// userId that we are connecting as currently
public static userId: string | undefined;
Expand Down
1 change: 1 addition & 0 deletions src/components/playbackManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export interface PlaybackState {
runtimeTicks: number;
}

// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export abstract class PlaybackManager {
private static playerManager: framework.PlayerManager;
private static activePlaylist: Array<BaseItemDto>;
Expand Down

0 comments on commit 95ddd5d

Please sign in to comment.