Skip to content

Commit

Permalink
feat(deps): bump eslint-plugin-react from 7.17.0 to 7.18.0 (#560)
Browse files Browse the repository at this point in the history
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.17.0 to 7.18.0.
- [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.17.0...v7.18.0)

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

Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
  • Loading branch information
dependabot-preview[bot] and ybiquitous committed Jan 16, 2020
1 parent f267d07 commit bf37bed
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 43 deletions.
217 changes: 175 additions & 42 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 @@ -28,7 +28,7 @@
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-restricted-globals": "^0.2.0"
},
Expand Down
1 change: 1 addition & 0 deletions rules/plugins/react-jsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
},
],
"react/jsx-no-literals": "off",
"react/jsx-no-script-url": "error",
"react/jsx-no-target-blank": ["error", { allowReferrer: true }],
"react/jsx-no-useless-fragment": "error",
"react/jsx-pascal-case": [
Expand Down
2 changes: 2 additions & 0 deletions rules/plugins/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ module.exports = {
"react/forbid-elements": "off",
"react/forbid-foreign-prop-types": "error",
"react/forbid-prop-types": ["error", { checkChildContextTypes: true, checkContextTypes: true }],
"react/function-component-definition": "off",
"react/no-access-state-in-setstate": "error",
"react/no-adjacent-inline-elements": "error",
"react/no-array-index-key": "error",
"react/no-danger": "warn",
"react/no-did-mount-set-state": "error",
Expand Down

0 comments on commit bf37bed

Please sign in to comment.