Skip to content

Commit

Permalink
style: update lint config and fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jrassa committed Aug 20, 2024
1 parent eab20bc commit d93d278
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@
],
"@angular-eslint/prefer-on-push-component-change-detection": ["off"],
"@angular-eslint/prefer-output-readonly": ["error"],
"@angular-eslint/prefer-standalone": ["warn"],
"@angular-eslint/prefer-standalone": ["error"],
"@angular-eslint/relative-url-prefix": ["error"],
"@angular-eslint/use-component-view-encapsulation": ["error"],
"@angular-eslint/use-injectable-provided-in": ["error"],
"@angular-eslint/use-lifecycle-interface": ["error"],
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-unused-vars": [
"warn",
"error",
{
"vars": "all",
"args": "none"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import { HttpErrorResponse } from '@angular/common/http';
import { Component, DestroyRef, OnInit, inject } from '@angular/core';
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';

import { filterNil } from 'ngxtension/filter-nil';
import { Observable } from 'rxjs';
import { filter, first, switchMap } from 'rxjs/operators';
import { first, switchMap } from 'rxjs/operators';

import {
PagingOptions,
Expand All @@ -16,7 +15,7 @@ import {
SkipToDirective,
SortDirection
} from '../../../../common';
import { DialogAction, DialogService, isDialogActionOK } from '../../../../common/dialog';
import { DialogService, isDialogActionOK } from '../../../../common/dialog';
import { AgoDatePipe, UtcDatePipe } from '../../../../common/pipes';
import { SystemAlertComponent, SystemAlertService } from '../../../../common/system-alert';
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import { Component, DestroyRef, OnInit, inject } from '@angular/core';
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
import { RouterLink } from '@angular/router';

import { filterNil } from 'ngxtension/filter-nil';
import { Observable } from 'rxjs';
import { filter, first, switchMap } from 'rxjs/operators';
import { first, switchMap } from 'rxjs/operators';

import {
CdkMenuItemRouterLinkDirective,
Expand All @@ -16,7 +15,7 @@ import {
SkipToDirective,
SortDirection
} from '../../../../common';
import { DialogAction, DialogService, isDialogActionOK } from '../../../../common/dialog';
import { DialogService, isDialogActionOK } from '../../../../common/dialog';
import { SystemAlertComponent, SystemAlertService } from '../../../../common/system-alert';
import {
ActionsMenuColumnComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
import { RouterLink } from '@angular/router';

import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap';
import { filterNil } from 'ngxtension/filter-nil';
import { Observable, of } from 'rxjs';
import { catchError, filter, first, switchMap } from 'rxjs/operators';
import { catchError, first, switchMap } from 'rxjs/operators';

import {
CdkMenuItemRouterLinkDirective,
Expand All @@ -20,7 +19,7 @@ import {
SkipToDirective,
SortDirection
} from '../../../../common';
import { DialogAction, DialogService, isDialogActionOK } from '../../../../common/dialog';
import { DialogService, isDialogActionOK } from '../../../../common/dialog';
import { JoinPipe } from '../../../../common/pipes';
import { SystemAlertComponent, SystemAlertService } from '../../../../common/system-alert';
import {
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/messages/message.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ActivatedRouteSnapshot, ResolveFn, Router, RouterStateSnapshot } from '
import { filterNil } from 'ngxtension/filter-nil';
import { mapArray } from 'ngxtension/map-array';
import { Observable, take } from 'rxjs';
import { catchError, filter, map } from 'rxjs/operators';
import { catchError, filter } from 'rxjs/operators';

import { AbstractEntityService, ServiceMethod } from '../../common';
import { SocketService } from '../socket.service';
Expand Down
4 changes: 2 additions & 2 deletions src/app/core/teams/view-team/view-team.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import {
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
import { Router, RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router';

import { filter, first, map, switchMap } from 'rxjs/operators';
import { first, map, switchMap } from 'rxjs/operators';

import { DialogAction, DialogService, isDialogActionOK } from '../../../common/dialog';
import { DialogService, isDialogActionOK } from '../../../common/dialog';
import { SystemAlertComponent } from '../../../common/system-alert';
import { SessionService } from '../../auth';
import { APP_SESSION } from '../../tokens';
Expand Down

0 comments on commit d93d278

Please sign in to comment.