mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00
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:
3
src/app/core/cache/object-cache.actions.ts
vendored
3
src/app/core/cache/object-cache.actions.ts
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user