Skip to content

Commit 6a643fa

Browse files
Upgrade to angular v16
1 parent 42bc30e commit 6a643fa

5 files changed

Lines changed: 4629 additions & 3462 deletions

File tree

.eslintrc.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,26 @@
4444
"error",
4545
{
4646
"selector": "default",
47-
"format": ["camelCase"],
47+
"format": [
48+
"camelCase"
49+
],
4850
"leadingUnderscore": "allow",
4951
"trailingUnderscore": "allow"
5052
},
5153
{
5254
"selector": "variable",
53-
"format": ["camelCase", "UPPER_CASE"],
55+
"format": [
56+
"camelCase",
57+
"UPPER_CASE"
58+
],
5459
"leadingUnderscore": "allow",
5560
"trailingUnderscore": "allow"
5661
},
5762
{
5863
"selector": "typeLike",
59-
"format": ["PascalCase"]
64+
"format": [
65+
"PascalCase"
66+
]
6067
},
6168
{
6269
"selector": [
@@ -68,7 +75,9 @@
6875
},
6976
{
7077
"selector": "variable",
71-
"modifiers": ["destructured"],
78+
"modifiers": [
79+
"destructured"
80+
],
7281
"format": null
7382
}
7483
],

client/app/services/auth-guard-admin.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Injectable } from '@angular/core';
2-
import { CanActivate } from '@angular/router';
2+
33
import { AuthService } from './auth.service';
44

55
@Injectable()
6-
export class AuthGuardAdmin implements CanActivate {
6+
export class AuthGuardAdmin {
77

88
constructor(public auth: AuthService) {}
99

client/app/services/auth-guard-login.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Injectable } from '@angular/core';
2-
import { CanActivate } from '@angular/router';
2+
33
import { AuthService } from './auth.service';
44

55
@Injectable()
6-
export class AuthGuardLogin implements CanActivate {
6+
export class AuthGuardLogin {
77

88
constructor(public auth: AuthService) {}
99

0 commit comments

Comments
 (0)