Skip to content

Commit

Permalink
Prevent missing parentheses around multiline JSX (react/jsx-wrap-mult…
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Oct 28, 2020
1 parent c895cbe commit ca3ff00
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eslintrc.json
Expand Up @@ -21,6 +21,15 @@
},

"rules": {
"react/jsx-wrap-multilines": ["error", {
"declaration": "parens-new-line",
"assignment": "parens-new-line",
"return": "parens-new-line",
"arrow": "ignore",
"condition": "ignore",
"logical": "ignore",
"prop": "ignore"
}],
"react/no-children-prop": "error",
"react/no-danger-with-children": "error",
"react/no-deprecated": "error",
Expand Down

0 comments on commit ca3ff00

Please sign in to comment.