Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn on react / react-hook eslinters to ensure consistency with EE #4182

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

AlinaGoaga
Copy link
Contributor

@AlinaGoaga AlinaGoaga commented Dec 28, 2023

Closes #3457

Prior to merging this we will need to have remove-req-use-useAsyncFn merged in EE as the removal of useRequestState will break enterprise.

What changed?

As agreed in triage:

  • Introduced react/react-hook rules in eslint config to match EE's eslint config

  • Deactivated:

  1. prop-types
  2. display-name
  • Enforced:
  1. exhaustive-deps
  2. jsx-key
  3. rules-of-hooks
  4. no-children-prop
  5. no-unescaped-entities
  6. no-unknown-property

@AlinaGoaga AlinaGoaga changed the title Turn on react hook eslinters Turn on react / react-hook eslinters to ensure consistency with EE Dec 29, 2023
…weaveworks/weave-gitops into turn-on-react-hook-eslinters
@AlinaGoaga AlinaGoaga marked this pull request as ready for review December 29, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant