mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 12:03:03 +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.reducer.ts
vendored
3
src/app/core/cache/object-cache.reducer.ts
vendored
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable max-classes-per-file */
|
||||
import { HALLink } from '../shared/hal-link.model';
|
||||
import { HALResource } from '../shared/hal-resource.model';
|
||||
import {
|
||||
@@ -49,7 +50,6 @@ export const getResourceTypeValueFor = (type: any): string => {
|
||||
}
|
||||
};
|
||||
|
||||
/* eslint-disable max-classes-per-file */
|
||||
/**
|
||||
* An interface to represent objects that can be cached
|
||||
*
|
||||
@@ -110,7 +110,6 @@ export class ObjectCacheEntry implements CacheEntry {
|
||||
alternativeLinks: string[];
|
||||
}
|
||||
|
||||
/* eslint-enable max-classes-per-file */
|
||||
|
||||
/**
|
||||
* The ObjectCache State
|
||||
|
Reference in New Issue
Block a user