OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Linting
Oliver Günther2e94044aaf96
diff --git a/frontend/src/app/core/state/actions/actions.service.ts b/frontend/src/app/core/state/actions/actions.service.tsindex 43e1a8f5b14..1fe3561e6db 100644--- a/frontend/src/app/core/state/actions/actions.service.ts+++ b/frontend/src/app/core/state/actions/actions.service.ts@@ -10,7 +10,7 @@ import { ofType } from 'ts-action-operators';export interface Action {type:string;- [key:string]:any;+ [key:string]:unknown;}@Injectable({ providedIn: 'root' })diff --git a/frontend/src/app/core/state/collection-store.type.ts b/frontend/src/app/core/state/collection-store.type.tsindex c9cdb64730f..51720ebbee9 100644--- a/frontend/src/app/core/state/collection-store.type.ts+++ b/frontend/src/app/core/state/collection-store.type.ts@@ -1,11 +1,16 @@-import { EntityState, ID, QueryEntity } from '@datorama/akita';-import { Apiv3ListParameters, listParamsString } from 'core-app/core/apiv3/paths/apiv3-list-resource.interface';+import {+ EntityState,+ ID,+ QueryEntity,+} from '@datorama/akita';+import {+ Apiv3ListParameters,+ listParamsString,+} from 'core-app/core/apiv3/paths/apiv3-list-resource.interface';import { Observable } from 'rxjs';import {- distinctUntilChanged,filter,map,- switchMap,} from 'rxjs/operators';export interface CollectionResponse {@@ -34,7 +39,6 @@ export function createInitialCollectionState():{ collections:Record<string, Coll};}-/*** Returns the collection key for the given APIv3 parameters*diff --git a/frontend/src/app/core/state/in-app-notifications/in-app-notifications.service.ts b/frontend/src/app/core/state/in-app-notifications/in-app-notifications.service.tsindex 79475327c86..2805cd57a74 100644--- a/frontend/src/app/core/state/in-app-notifications/in-app-notifications.service.ts+++ b/frontend/src/app/core/state/in-app-notifications/in-app-notifications.service.ts@@ -19,10 +19,7 @@ import { IHALCollection } from 'core-app/core/apiv3/types/hal-collection.type';import { HttpClient } from '@angular/common/http';import { InAppNotificationsQuery } from 'core-app/core/state/in-app-notifications/in-app-notifications.query';import { Apiv3ListParameters } from 'core-app/core/apiv3/paths/apiv3-list-resource.interface';-import {- collectionKey,- CollectionResponse,-} from 'core-app/core/state/collection-store.type';+import { collectionKey } from 'core-app/core/state/collection-store.type';import {markNotificationsAsRead,notificationsMarkedRead,@@ -84,7 +81,7 @@ export class InAppNotificationsService extends UntilDestroyedMixin {this.store.update(id, inAppNotification);}- modifyCollection(params:Apiv3ListParameters, callback:(collection:ID[]) => ID[]) {+ modifyCollection(params:Apiv3ListParameters, callback:(collection:ID[]) => ID[]):void {const key = collectionKey(params);this.store.update(({ collections }) => ({diff --git a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.tsindex cee0d80092b..098412e2b8f 100644--- a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts+++ b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts@@ -1,7 +1,6 @@import {ChangeDetectionStrategy,Component,- OnInit,} from '@angular/core';import { OpModalService } from 'core-app/shared/components/modal/modal.service';import {diff --git a/frontend/src/app/features/in-app-notifications/bell/state/ian-bell.query.ts b/frontend/src/app/features/in-app-notifications/bell/state/ian-bell.query.tsindex e55490094de..38e48b3a1dc 100644--- a/frontend/src/app/features/in-app-notifications/bell/state/ian-bell.query.ts+++ b/frontend/src/app/features/in-app-notifications/bell/state/ian-bell.query.ts@@ -8,4 +8,4 @@ export class IanBellQuery extends Query<IanBellState> {constructor(protected store:IanBellStore) {super(store);}-}\ No newline at end of file+}diff --git a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center-page.component.ts b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center-page.component.tsindex 4d5867d8761..4ef8fdeec57 100644--- a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center-page.component.ts+++ b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center-page.component.ts@@ -1,9 +1,18 @@-import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Injector, OnInit } from '@angular/core';+import {+ ChangeDetectionStrategy,+ ChangeDetectorRef,+ Component,+ Injector,+ OnInit,+} from '@angular/core';import {ToolbarButtonComponentDefinition,ViewPartitionState,} from 'core-app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component';-import { StateService, TransitionService } from '@uirouter/core';+import {+ StateService,+ TransitionService,+} from '@uirouter/core';import { NotificationsService } from 'core-app/shared/components/notifications/notifications.service';import { I18nService } from 'core-app/core/i18n/i18n.service';import { APIV3Service } from 'core-app/core/apiv3/api-v3.service';@@ -100,11 +109,13 @@ export class InAppNotificationCenterPageComponent extends UntilDestroyedMixin im// For shared template compliance// eslint-disable-next-line class-methods-use-this, @typescript-eslint/no-unused-vars- updateTitleName(val:string):void {}+ updateTitleName(val:string):void {+ }// For shared template compliance// eslint-disable-next-line class-methods-use-this, @typescript-eslint/no-unused-vars- changeChangesFromTitle(val:string):void {}+ changeChangesFromTitle(val:string):void {+ }private backButtonFn():void {if (this.documentReferer.length > 0) {diff --git a/frontend/src/app/features/in-app-notifications/center/state/ian-center.store.ts b/frontend/src/app/features/in-app-notifications/center/state/ian-center.store.tsindex e2b32b4c8cb..d749df34ff5 100644--- a/frontend/src/app/features/in-app-notifications/center/state/ian-center.store.ts+++ b/frontend/src/app/features/in-app-notifications/center/state/ian-center.store.ts@@ -33,7 +33,6 @@ export function createInitialState():IanCenterState {@StoreConfig({ name: 'ian-center' })export class IanCenterStore extends Store<IanCenterState> {-constructor() {super(createInitialState());}diff --git a/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view.component.ts b/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view.component.tsindex fab1d5c44a9..9932336a9b1 100644--- a/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view.component.ts+++ b/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view.component.ts@@ -26,7 +26,12 @@// See docs/COPYRIGHT.rdoc for more details.//++-import { ChangeDetectionStrategy, Component, Injector, OnInit } from '@angular/core';+import {+ ChangeDetectionStrategy,+ Component,+ Injector,+ OnInit,+} from '@angular/core';import { StateService } from '@uirouter/core';import { WorkPackageViewFocusService } from 'core-app/features/work-packages/routing/wp-view-base/view-services/wp-view-focus.service';import { States } from 'core-app/core/states/states.service';diff --git a/frontend/src/app/features/work-packages/routing/wp-view-base/state/wp-single-view.service.ts b/frontend/src/app/features/work-packages/routing/wp-view-base/state/wp-single-view.service.tsindex de14bc40beb..48f00075ccf 100644--- a/frontend/src/app/features/work-packages/routing/wp-view-base/state/wp-single-view.service.ts+++ b/frontend/src/app/features/work-packages/routing/wp-view-base/state/wp-single-view.service.ts@@ -107,7 +107,7 @@ export class WpSingleViewService extends UntilDestroyedMixin {* Reload after notifications were successfully marked as read*/@EffectCallback(notificationsMarkedRead)- private reloadOnNotificationRead(action:ReturnType<typeof notificationsMarkedRead>) {+ private reloadOnNotificationRead() {const { filters } = this.store.getValue().notifications;this.reload(filters);}