mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 14:33:03 +00:00
87968: Automatic migration from TSLint to ESLint
Via `ng g @angular-eslint/schematics:convert-tslint-to-eslint`
This commit is contained in:
@@ -37,7 +37,7 @@ export class ObjectSelectionAction implements Action {
|
||||
}
|
||||
}
|
||||
|
||||
/* tslint:disable:max-classes-per-file */
|
||||
/* eslint-disable max-classes-per-file */
|
||||
/**
|
||||
* Used to set the initial state to deselected
|
||||
*/
|
||||
@@ -79,4 +79,4 @@ export class ObjectSelectionSwitchAction extends ObjectSelectionAction {
|
||||
export class ObjectSelectionResetAction extends ObjectSelectionAction {
|
||||
type = ObjectSelectionActionTypes.RESET;
|
||||
}
|
||||
/* tslint:enable:max-classes-per-file */
|
||||
/* eslint-enable max-classes-per-file */
|
||||
|
@@ -19,23 +19,23 @@ describe('ObjectSelectService', () => {
|
||||
const mockObjectId = 'id1';
|
||||
|
||||
const selectionStore: Store<ObjectSelectionListState> = jasmine.createSpyObj('selectionStore', {
|
||||
/* tslint:disable:no-empty */
|
||||
/* eslint-disable no-empty,@typescript-eslint/no-empty-function */
|
||||
dispatch: {},
|
||||
/* tslint:enable:no-empty */
|
||||
/* eslint-enable no-empty,@typescript-eslint/no-empty-function */
|
||||
select: of(true)
|
||||
});
|
||||
|
||||
const store: Store<ObjectSelectionsState> = jasmine.createSpyObj('store', {
|
||||
/* tslint:disable:no-empty */
|
||||
/* eslint-disable no-empty,@typescript-eslint/no-empty-function */
|
||||
dispatch: {},
|
||||
/* tslint:enable:no-empty */
|
||||
/* eslint-enable no-empty,@typescript-eslint/no-empty-function */
|
||||
select: of(true)
|
||||
});
|
||||
|
||||
const appStore: Store<AppState> = jasmine.createSpyObj('appStore', {
|
||||
/* tslint:disable:no-empty */
|
||||
/* eslint-disable no-empty,@typescript-eslint/no-empty-function */
|
||||
dispatch: {},
|
||||
/* tslint:enable:no-empty */
|
||||
/* eslint-enable no-empty, @typescript-eslint/no-empty-function */
|
||||
select: of(true)
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user