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

Enable @10up/eslint-config/react and fix warnings and erros #2306

Merged
merged 57 commits into from
Aug 19, 2021

Conversation

Rahmon
Copy link
Contributor

@Rahmon Rahmon commented Aug 13, 2021

Description of the Change

This change updates the eslint rules to follow the rules defined in 10up-toolkit and fixes the warnings and errors.

Alternate Designs

Benefits

  • Simplify our building scripts process and transferring and responsibility to 10up-toolkit
  • Reduce the number of packages we require on our package.json file

Possible Drawbacks

Verification Process

In the process of fixing the warnings and errors, some refactoring was necessary. So it's necessary to check if everything is working as expected. Especially in the pages Synonyms and Custom Results.

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Applicable Issues

Closes: #2297

Changelog Entry

@Rahmon Rahmon added this to the 3.6.2 milestone Aug 13, 2021
@Rahmon Rahmon requested a review from felipeelia August 13, 2021 14:37
@JakePT
Copy link
Contributor

JakePT commented Aug 17, 2021

@Rahmon Looks good to me.

@Rahmon Rahmon merged commit 35bffb8 into develop Aug 19, 2021
@Rahmon Rahmon deleted the fix/react-warnings-and-errors branch August 19, 2021 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Update to use @10up/eslint-config/react and fix possible warnings and errors
3 participants