Skip to content

Setup react hooks linting #3034

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

Merged
merged 4 commits into from
Aug 22, 2022
Merged

Setup react hooks linting #3034

merged 4 commits into from
Aug 22, 2022

Conversation

jimmycallin
Copy link
Collaborator

Reasons for making this change

It's hard to remember all dependencies in useEffect et. al. without proper linting in place. This sets this up and fixes some missing dependencies. It also turns off some less critical rules that would be good to fix in the future.

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests. I've run npm run test:update to update snapshots, if needed.
    • I've updated docs if needed
    • I've updated the changelog with a description of the PR
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

@jimmycallin jimmycallin changed the base branch from master to rjsf-v5 August 22, 2022 17:21
@heath-freenome
Copy link
Member

Also, I wonder why the build system isn't running?

@heath-freenome
Copy link
Member

@jimmycallin Looks like you'll need to fix up a few more lint issues in other themes

@jimmycallin jimmycallin merged commit 6603e96 into rjsf-v5 Aug 22, 2022
@jimmycallin jimmycallin deleted the setup-react-hooks-linting branch August 22, 2022 18:59
heath-freenome pushed a commit to heath-freenome/react-jsonschema-form that referenced this pull request Aug 27, 2022
* Set up linting for react hooks

* revert formatting

* fix linting issues in themes

* more linting issues
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.

2 participants