Skip to content

Commit c002219

Browse files
committed
test(angular): update so all versions pass lint
1 parent a34e5c0 commit c002219

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

packages/angular/test/apps/ng16/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,22 @@
4141
},
4242
"devDependencies": {
4343
"@angular-devkit/build-angular": "^16.0.0",
44-
"@angular-eslint/builder": "^16.0.0",
45-
"@angular-eslint/eslint-plugin": "^16.0.0",
46-
"@angular-eslint/eslint-plugin-template": "^16.0.0",
47-
"@angular-eslint/schematics": "^16.0.0",
44+
"@angular-eslint/builder": "^16.3.1",
45+
"@angular-eslint/eslint-plugin": "^16.3.1",
46+
"@angular-eslint/eslint-plugin-template": "^16.3.1",
47+
"@angular-eslint/schematics": "^16.3.1",
4848
"@angular-eslint/template-parser": "^16.0.0",
4949
"@angular/cli": "^16.0.0",
5050
"@angular/compiler-cli": "^16.0.0",
5151
"@angular/language-service": "^16.0.0",
5252
"@nguniversal/builders": "^16.0.0",
5353
"@types/express": "^4.17.7",
5454
"@types/node": "^12.12.54",
55-
"@typescript-eslint/eslint-plugin": "4.28.2",
56-
"@typescript-eslint/parser": "4.28.2",
55+
"@typescript-eslint/eslint-plugin": "^5.62.0",
56+
"@typescript-eslint/parser": "^5.62.0",
5757
"concurrently": "^6.0.0",
5858
"cypress": "^13.2.0",
59-
"eslint": "^7.26.0",
59+
"eslint": "^8.57.1",
6060
"ts-loader": "^6.2.2",
6161
"ts-node": "^8.3.0",
6262
"typescript": "~5.0.2",

packages/angular/test/apps/ng16/src/app/lazy/version-test/modal-nav-params/nav-root.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { JsonPipe } from "@angular/common";
2-
import { Component, Input } from "@angular/core";
2+
import { Component, Input, OnInit } from "@angular/core";
33

44
import { IonicModule } from "@ionic/angular";
55

@@ -21,7 +21,7 @@ let rootParamsException = false;
2121
standalone: true,
2222
imports: [IonicModule, JsonPipe]
2323
})
24-
export class NavRootComponent {
24+
export class NavRootComponent implements OnInit {
2525

2626
@Input() params: any = {};
2727

packages/angular/test/apps/ng17/src/app/lazy/version-test/modal-nav-params/nav-root.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { JsonPipe } from "@angular/common";
2-
import { Component, Input } from "@angular/core";
2+
import { Component, Input, OnInit } from "@angular/core";
33

44
import { IonicModule } from "@ionic/angular";
55

@@ -21,9 +21,9 @@ let rootParamsException = false;
2121
standalone: true,
2222
imports: [IonicModule, JsonPipe]
2323
})
24-
export class NavRootComponent {
24+
export class NavRootComponent implements OnInit {
2525

26-
@Input() params: any;
26+
@Input() params: any = {};
2727

2828
ngOnInit() {
2929
if (this.params === undefined) {

packages/angular/test/apps/ng18/src/app/lazy/version-test/modal-nav-params/nav-root.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { JsonPipe } from "@angular/common";
2-
import { Component } from "@angular/core";
2+
import { Component, Input, OnInit } from "@angular/core";
33

44
import { IonicModule } from "@ionic/angular";
55

@@ -21,9 +21,9 @@ let rootParamsException = false;
2121
standalone: true,
2222
imports: [IonicModule, JsonPipe]
2323
})
24-
export class NavRootComponent {
24+
export class NavRootComponent implements OnInit {
2525

26-
params: any;
26+
@Input() params: any = {};
2727

2828
ngOnInit() {
2929
if (this.params === undefined) {

0 commit comments

Comments
 (0)