-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Check that React-using projects use react eslint rules (#39214)
I noticed that several of our projects are using React but did not have our `jetpack-js-tools/eslintrc/react` eslint ruleset enabled. This adds a linting check for that, and enables it on most of the projects where it was not enabled. For a few I instead added a `@todo` comment about turning it on, due to a lot of cleanup being needed in order to successfully do so. I hope people more familiar with React and these projects will follow up on that. * js-packages/ai-client: 32 × react/jsx-no-bind 33 × react-hooks/exhaustive-deps * packages/videopress: 8 × react-hooks/rules-of-hooks 69 × react-hooks/exhaustive-deps 157 × react/jsx-no-bind * plugins/boost: 1 × react/no-danger 81 × react/jsx-no-bind * plugins/crm: 1 × react-hooks/rules-of-hooks 2 × react/jsx-no-bind 3 × react-hooks/exhaustive-deps Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10722474820 Upstream-Ref: Automattic/jetpack@d586800
- Loading branch information
Showing
3 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters