Update useDescriptionGenerator.ts #270
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#L79
Delete `·······`
|
|
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.
|