Skip to content

Adding battle game contract #1312

Adding battle game contract

Adding battle game contract #1312

Triggered via pull request October 21, 2024 10:08
Status Success
Total duration 4m 36s
Artifacts

frontend.yml

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

Annotations

22 warnings
build (apps/tamagotchi, build): frontend/apps/tamagotchi/src/app/hooks/use-tamagotchi.ts#L48
React Hook useEffect has missing dependencies: 'resetLesson', 'setIsAdmin', 'setIsReady', and 'setTamagotchi'. Either include them or remove the dependency array
build (apps/tamagotchi, build): frontend/apps/tamagotchi/src/app/hooks/use-lessons.ts#L25
React Hook useEffect has a missing dependency: 'setLesson'. Either include it or remove the dependency array
build (apps/tamagotchi, build): frontend/apps/tamagotchi/src/app/hooks/use-read-wasm-state.ts#L83
React Hook useEffect has missing dependencies: 'handleStateChange', 'isArgument', and 'isPayload'. Either include them or remove the dependency array
build (apps/tamagotchi, build): frontend/apps/tamagotchi/src/app/hooks/use-read-wasm-state.ts#L88
React Hook useEffect has a missing dependency: 'readWasmState'. Either include it or remove the dependency array
build (apps/tamagotchi, build): frontend/apps/tamagotchi/src/app/hooks/use-read-wasm-state.ts#L92
React Hook useEffect has a missing dependency: 'alert'. Either include it or remove the dependency array
build (apps/tamagotchi, build): frontend/apps/tamagotchi/src/app/hooks/use-read-wasm-state.ts#L103
React Hook useEffect has a missing dependency: 'readWasmState'. Either include it or remove the dependency array
build (apps/tamagotchi, build): frontend/apps/tamagotchi/src/app/hooks/use-read-wasm-state.ts#L116
'readWasmState' is assigned a value but never used
build (apps/tamagotchi, build): frontend/apps/tamagotchi/src/components/tamagotchi/tamagotchi-avatar/tamagotchi-avatar.tsx#L56
React Hook useEffect has missing dependencies: 'hasItem' and 'inBattle'. Either include them or remove the dependency array. If 'setItemsUsed' needs the current value of 'hasItem', you can also switch to useReducer instead of useState and read 'hasItem' in the reducer
build (apps/tamagotchi, build): frontend/apps/tamagotchi/src/components/tamagotchi/tamagotchi-avatar/tamagotchi-avatar.tsx#L96
React Hook useEffect has a missing dependency: 'inBattle'. Either include it or remove the dependency array
build (apps/battleship, build): frontend/apps/battleship/src/features/game/components/map/mapEnemy.tsx#L95
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
build (apps/vara-man, build): frontend/apps/vara-man/src/hooks/use-mobile-device.ts#L53
React Hook useEffect has a missing dependency: 'handleChange'. Either include it or remove the dependency array
build (apps/vara-man, build): frontend/apps/vara-man/src/pages/home.tsx#L14
React Hook useEffect has a missing dependency: 'setPreviousGame'. Either include it or remove the dependency array
build (apps/vara-man, build): frontend/apps/vara-man/src/pages/rules.tsx#L92
Imported JSX component sliderPrev must be in PascalCase or SCREAMING_SNAKE_CASE
build (apps/vara-man, build): frontend/apps/vara-man/src/pages/rules.tsx#L99
Imported JSX component sliderNext must be in PascalCase or SCREAMING_SNAKE_CASE
build (apps/vara-man, build): frontend/apps/vara-man/src/components/sections/home/home-register.tsx#L15
Imported JSX component gameJoystick must be in PascalCase or SCREAMING_SNAKE_CASE
build (apps/vara-man, build): frontend/apps/vara-man/src/components/sections/home/home-register.tsx#L23
Imported JSX component search must be in PascalCase or SCREAMING_SNAKE_CASE