Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Conversation

@AlinaGoaga
Copy link
Contributor

@AlinaGoaga AlinaGoaga commented Dec 28, 2023

Modify eslint config in backstage: https://backstage.io/docs/local-dev/cli-build-system/#linting

Add react-hooks/exhaustive-deps rule for additional hooks in eslint config: https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks#advanced-configuration

  • Fixed dependencies for custom hook which wasn't following the react-hooks/exhaustive-deps rules (useAsyncFn)

@AlinaGoaga AlinaGoaga marked this pull request as ready for review December 28, 2023 11:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[backstage] Investigate why eslint doesn't alert about hooks dependency errors

2 participants