87968: Update ESLint disable/enable comments

eslint-disable max-classes-per-file only works at the top of the file now
This commit is contained in:
Yura Bondarenko
2022-03-25 10:23:33 +01:00
parent b5911b8536
commit bb51609af9
70 changed files with 69 additions and 119 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable max-classes-per-file */
import { Action } from '@ngrx/store';
import { type } from '../../shared/ngrx/type';
import { RestRequest } from './request.models';
@@ -17,7 +18,6 @@ export const RequestActionTypes = {
REMOVE: type('dspace/core/data/request/REMOVE')
};
/* eslint-disable max-classes-per-file */
export abstract class RequestUpdateAction implements Action {
abstract type: string;
lastUpdated: number;
@@ -185,7 +185,6 @@ export class RequestRemoveAction implements Action {
}
}
/* eslint-enable max-classes-per-file */
/**
* A type to encompass all RequestActions