fixed linting issues
All checks were successful
Build, Test & Push Frontend / quality-check (push) Successful in 1m36s
Build, Test & Push Frontend / docker (push) Successful in 1m6s

This commit is contained in:
2026-03-07 17:30:29 +01:00
parent 40c3b9dd5a
commit 64842d388b
6 changed files with 27 additions and 4 deletions

1
.gitignore vendored
View File

@@ -44,3 +44,4 @@ Thumbs.db
# Lighthouse
.lighthouseci/
.claude/settings.local.json

22
package-lock.json generated
View File

@@ -30,6 +30,7 @@
"@angular/build": "~21.2.1",
"@angular/cli": "~21.2.1",
"@angular/compiler-cli": "~21.2.1",
"@eslint/js": "~10.0.1",
"@lhci/cli": "^0.15.1",
"@types/jasmine": "~6.0.0",
"angular-eslint": "21.3.0",
@@ -1626,6 +1627,27 @@
"node": "^20.19.0 || ^22.13.0 || >=24"
}
},
"node_modules/@eslint/js": {
"version": "10.0.1",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz",
"integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==",
"dev": true,
"license": "MIT",
"engines": {
"node": "^20.19.0 || ^22.13.0 || >=24"
},
"funding": {
"url": "https://eslint.org/donate"
},
"peerDependencies": {
"eslint": "^10.0.0"
},
"peerDependenciesMeta": {
"eslint": {
"optional": true
}
}
},
"node_modules/@eslint/object-schema": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.3.tgz",

View File

@@ -33,6 +33,7 @@
"@angular/build": "~21.2.1",
"@angular/cli": "~21.2.1",
"@angular/compiler-cli": "~21.2.1",
"@eslint/js": "~10.0.1",
"@lhci/cli": "^0.15.1",
"@types/jasmine": "~6.0.0",
"angular-eslint": "21.3.0",

View File

@@ -17,7 +17,7 @@
</button>
</div>
<div class="sliders-panel">
<label>{{ 'CLOTH.ELONGATION' | translate }}: {{ elongation }}</label>
<span>{{ 'CLOTH.ELONGATION' | translate }}: {{ elongation }}</span>
<mat-slider min="0.5" max="2.0" step="0.1">
<input matSliderThumb [(ngModel)]="elongation">
</mat-slider>

View File

@@ -178,10 +178,9 @@ export class ConwayGolComponent implements AfterViewInit {
async startGame(): Promise<void> {
this.gameStarted.set(true);
let lifeIsDead = false;
while (this.gameStarted()){
const startTime = performance.now();
lifeIsDead = true;
let lifeIsDead = true;
for (let row = 0; row < this.gridRows; row++) {
for (let col = 0; col < this.gridCols; col++) {
lifeIsDead = this.checkLifeRules(row, col, this.writeGrid) && lifeIsDead;

View File

@@ -56,7 +56,7 @@ export class SortingService {
let start = -1;
let end = array.length-1;
let changed = false;
let changed: boolean;
do {
changed = false;
start += 1;