mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 14:33: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:
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable max-classes-per-file */
|
||||
import { excludeFromEquals, fieldsForEquals } from './equals.decorators';
|
||||
import { EquatableObject } from './equatable';
|
||||
import { cloneDeep } from 'lodash';
|
||||
@@ -14,7 +15,6 @@ class Dog extends EquatableObject<Dog> {
|
||||
public favouriteToy: { name: string, colour: string };
|
||||
}
|
||||
|
||||
// eslint-disable-next-line max-classes-per-file
|
||||
class Owner extends EquatableObject<Owner> {
|
||||
@excludeFromEquals
|
||||
favouriteFood: string;
|
||||
|
Reference in New Issue
Block a user