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

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;