Skip to content

fix menu items + add lint action #1

fix menu items + add lint action

fix menu items + add lint action #1

Triggered via pull request December 16, 2024 22:40
Status Success
Total duration 2m 5s
Artifacts

lint_format.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
prettier: src/backend/backendProvider.tsx#L26
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
prettier: src/components/filter/FilterAutocomplete.tsx#L48
React Hook useMemo has missing dependencies: 'indexField' and 'options'. Either include them or remove the dependency array
prettier: src/pokemon/FileTypeSelect.tsx#L83
React Hook useMemo has a missing dependency: 'getEnabledSaveTypes'. Either include it or remove the dependency array
prettier: src/pokemon/MetDataMovesDisplay.tsx#L120
React Hook useMemo has a missing dependency: 'getEnabledSaveTypes'. Either include it or remove the dependency array
prettier: src/saves/SaveCard.tsx#L41
React Hook useMemo has missing dependencies: 'getEnabledSaveTypes', 'save.game', and 'save.pluginIdentifier'. Either include them or remove the dependency array. Outer scope values like 'origin' aren't valid dependencies because mutating them doesn't re-render the component
prettier: src/saves/SaveCard.tsx#L46
React Hook useMemo has a missing dependency: 'saveType'. Either include it or remove the dependency array
prettier: src/saves/SuggestedSaves.tsx#L58
React Hook useCallback has a missing dependency: 'getEnabledSaveTypes'. Either include it or remove the dependency array
prettier: src/state/filter.tsx#L55
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
prettier: src/state/lookup.tsx#L87
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file