Skip to content

Commit

Permalink
Merge pull request #3 from Wolox/remove-annoying-rules
Browse files Browse the repository at this point in the history
removed some rules that where annoying after usage
  • Loading branch information
damfinkel authored Nov 12, 2018
2 parents ef8a448 + cbed43c commit b043aa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module.exports = {
"react/boolean-prop-naming": "error",
"react/button-has-type": "error",
"react/default-props-match-prop-types": "error",
"react/forbid-dom-props": ["error", { forbid: ["style", "id"] }],
"react/forbid-dom-props": ["error", { forbid: ["style"] }],
"react/forbid-prop-types": "error",
"react/jsx-boolean-value": ["error", "never"],
"react/jsx-child-element-spacing": "error",
Expand All @@ -98,12 +98,11 @@ module.exports = {
"react/jsx-handler-names": "error",
"react/jsx-indent": ["error", 2],
"react/jsx-key": "error",
"react/jsx-max-depth": ["error", { max: 4 }],
"react/jsx-max-depth": ["error", { max: 6 }],
"react/jsx-no-bind": "error",
"react/jsx-no-comment-textnodes": "error",
"react/jsx-no-duplicate-props": "error",
"react/jsx-no-target-blank": "error",
"react/jsx-one-expression-per-line": "error",
"react/jsx-pascal-case": "error",
"react/jsx-props-no-multi-spaces": "error",
"react/jsx-sort-default-props": "error",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

0 comments on commit b043aa7

Please sign in to comment.