Skip to content

Update useDescriptionGenerator.ts #270

Update useDescriptionGenerator.ts

Update useDescriptionGenerator.ts #270

Triggered via push June 25, 2025 13:24
Status Failure
Total duration 46s
Artifacts

ci.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 errors
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L102
Replace `.moves({·verbose:·true·}).forEach((m)·=>⏎····legal.add(m.from·+·m.to·+·(m.promotion·??·''))⏎··` with `⏎····.moves({·verbose:·true·})⏎····.forEach((m)·=>·legal.add(m.from·+·m.to·+·(m.promotion·??·''))`
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L78
Delete `··········`
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L61
Replace `⏎··'Tread·carefully',⏎··'Be·alert',⏎··'Stay·sharp',⏎··'Watch·out',⏎` with `'Tread·carefully',·'Be·alert',·'Stay·sharp',·'Watch·out'`
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L36
Replace `⏎····'to·stay·in·the·game',⏎····'to·stay·afloat',⏎····'to·keep·fighting',⏎··` with `'to·stay·in·the·game',·'to·stay·afloat',·'to·keep·fighting'`
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L31
Replace `⏎····'to·hold·the·position',⏎····'to·defend·the·position',⏎····'to·hold·on',⏎··` with `'to·hold·the·position',·'to·defend·the·position',·'to·hold·on'`
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L21
Replace `⏎····'for·an·advantage',⏎····'to·gain·an·edge',⏎····'to·press·for·advantage',⏎··` with `'for·an·advantage',·'to·gain·an·edge',·'to·press·for·advantage'`
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L16
Replace `⏎····'to·win',⏎····'for·a·winning·advantage',⏎····'to·maintain·a·winning·advantage',⏎··` with `'to·win',·'for·a·winning·advantage',·'to·maintain·a·winning·advantage'`
Node 18 Build
Process completed with exit code 1.