Add various terminal scripts and components #38
Annotations
5 errors and 9 warnings
|
test
Process completed with exit code 1.
|
|
test:
src/components/terminal/programs/Snake.ts#L134
Unexpected any. Specify a different type
|
|
test:
src/components/terminal/programs/Nano.ts#L62
Unexpected any. Specify a different type
|
|
test:
src/components/terminal/programs/MusicPlayer.ts#L25
Unexpected any. Specify a different type
|
|
test:
src/components/terminal/programs/ImageViewer.ts#L17
Unexpected any. Specify a different type
|
|
test:
src/components/terminal/programs/Nano.ts#L58
'dt' is defined but never used
|
|
test:
src/components/terminal/programs/ImageViewer.ts#L15
'dt' is defined but never used
|
|
test:
src/components/terminal/programs/ImageViewer.ts#L11
'key' is defined but never used
|
|
test:
src/components/terminal/programs/Chess.ts#L471
'boardSize' is assigned a value but never used
|
|
test:
src/components/terminal/TerminalEngine.ts#L284
'revision' is assigned a value but never used
|
|
test:
src/components/terminal/TerminalCanvas.tsx#L11532
React Hook useCallback has an unnecessary dependency: 'language'. Either exclude it or remove the dependency array
|
|
test:
src/components/terminal/TerminalCanvas.tsx#L10451
React Hook useCallback has an unnecessary dependency: 'language'. Either exclude it or remove the dependency array
|
|
test
The 'scrollToSection' function makes the dependencies of useMemo Hook (at line 1615) change on every render. To fix this, wrap the definition of 'scrollToSection' in its own useCallback() Hook
|
|
test
The ref value 'screenAspectTimerRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'screenAspectTimerRef.current' to a variable inside the effect, and use that variable in the cleanup function
|