Adding a file for generating descriptions (v1) #206
Annotations
11 errors
|
|
|
lint:
src/hooks/useAnalysisController/useDescriptionGenerator.ts#L14
Replace `m·=>·s.add(m.from·+·m.to·+·(m.promotion·??·"")));` with `(m)·=>⏎····s.add(m.from·+·m.to·+·(m.promotion·??·'')),⏎··)`
|
|
|
|
|
|
lint:
src/hooks/useAnalysisController/useDescriptionGenerator.ts#L9
Replace `····=·(p:·number)·=>·{·const·w·=·winRate(p),·l·=·winRate(-p);·return·{·w,·d:·1·-·w·-·l·};·};` with `=·(p:·number)·=>·{⏎··const·w·=·winRate(p),⏎····l·=·winRate(-p)⏎··return·{·w,·d:·1·-·w·-·l·}⏎}`
|
|
|
|
lint:
src/hooks/useAnalysisController/useDescriptionGenerator.ts#L6
Replace `·B·=·0.8,·EPS·=·0.08;` with `⏎··B·=·0.8,⏎··EPS·=·0.08`
|
|
lint:
src/hooks/useAnalysisController/useDescriptionGenerator.ts#L4
Replace `·····=·Record<string,·number[]>;` with `=·Record<string,·number[]>`
|
|
|
|
lint:
src/hooks/useAnalysisController/useDescriptionGenerator.ts#L1
Replace `"chess.js";` with `'chess.js'`
|
|
Node 18 Build
Process completed with exit code 1.
|