Skip to content

Commit

Permalink
feat(deps): bump eslint-plugin-react from 7.28.0 to 7.29.2 (#1052)
Browse files Browse the repository at this point in the history
* build(deps): bump eslint-plugin-react from 7.28.0 to 7.29.2

Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.28.0 to 7.29.2.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-react@v7.28.0...v7.29.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat(react): add new rules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and ybiquitous authored Mar 1, 2022
1 parent 5e3a72e commit 248b5c5
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
50 changes: 25 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react": "^7.29.2",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-regexp": "^1.5.1"
},
Expand Down
2 changes: 2 additions & 0 deletions rules/plugins/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ module.exports = {
"react/forbid-foreign-prop-types": "error",
"react/forbid-prop-types": ["error", { checkChildContextTypes: true, checkContextTypes: true }],
"react/function-component-definition": "off",
"react/hook-use-state": "error",
"react/iframe-missing-sandbox": "error",
"react/no-access-state-in-setstate": "error",
"react/no-adjacent-inline-elements": "error",
"react/no-array-index-key": "error",
Expand Down

0 comments on commit 248b5c5

Please sign in to comment.