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';
@@ -15,7 +16,6 @@ export const ObjectCacheActionTypes = {
APPLY_PATCH: type('dspace/core/cache/object/APPLY_PATCH')
};
/* eslint-disable max-classes-per-file */
/**
* An ngrx action to add an object to the cache
*/
@@ -126,7 +126,6 @@ export class ApplyPatchObjectCacheAction implements Action {
}
}
/* eslint-enable max-classes-per-file */
/**
* A type to encompass all ObjectCacheActions