Skip to content

Commit

Permalink
feat(deps): bump eslint-plugin-react from 7.24.0 to 7.25.1 (#964)
Browse files Browse the repository at this point in the history
* chore(deps): bump eslint-plugin-react from 7.24.0 to 7.25.1

Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.24.0 to 7.25.1.
- [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.24.0...v7.25.1)

---
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 `react/prefer-exact-props` rule

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 Sep 2, 2021
1 parent a0f7d52 commit 77dea45
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
30 changes: 22 additions & 8 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.23.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions rules/plugins/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module.exports = {
"react/no-unused-state": "error",
"react/no-will-update-set-state": "error",
"react/prefer-es6-class": "error",
"react/prefer-exact-props": "error",
"react/prefer-read-only-props": "off",
"react/prefer-stateless-function": ["error", { ignorePureComponents: true }],
"react/require-default-props": [
Expand Down

0 comments on commit 77dea45

Please sign in to comment.