Skip to content

Commit

Permalink
feat(deps): bump eslint-plugin-react from 7.12.4 to 7.13.0 (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and ybiquitous committed May 6, 2019
1 parent 5bd7ca9 commit daf4633
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 15 deletions.
42 changes: 28 additions & 14 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 @@ -29,7 +29,7 @@
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react": "^7.13.0",
"eslint-restricted-globals": "^0.2.0"
},
"devDependencies": {
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 @@ -25,6 +25,7 @@ module.exports = {
allowAllCaps: true,
},
],
"react/jsx-props-no-spreading": "off",
"react/jsx-sort-default-props": "off",
"react/jsx-sort-props": "off",
},
Expand Down
3 changes: 3 additions & 0 deletions rules/plugins/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
"react/no-unused-state": "error",
"react/no-will-update-set-state": "error",
"react/prefer-es6-class": "error",
"react/prefer-read-only-props": "off",
"react/prefer-stateless-function": ["error", { ignorePureComponents: true }],
"react/require-default-props": [
"error",
Expand All @@ -36,6 +37,8 @@ module.exports = {
"react/self-closing-comp": "error",
"react/sort-comp": "error",
"react/sort-prop-types": "off",
"react/state-in-constructor": "off",
"react/static-property-placement": "warn",
"react/style-prop-object": "error",
"react/void-dom-elements-no-children": "error",
},
Expand Down

0 comments on commit daf4633

Please sign in to comment.