Skip to content

Commit

Permalink
Check parentheses with new lines for multiline JSX
Browse files Browse the repository at this point in the history
This changes the options from a boolean to an enum with five possible
values: true, false, `ignore`, `parens`, and `parens-new-line`. True and
false are there for backwards compatibility. Using `ignore` equates to
using `false` while `parens` is equal to `true`. The new option
(`parens-new-line`) will check that the parentheses around the multiline
JSX are on separate lines for better readability.
  • Loading branch information
jomasti committed Oct 30, 2017
1 parent fcf580b commit 4a719e8
Show file tree
Hide file tree
Showing 3 changed files with 735 additions and 92 deletions.

0 comments on commit 4a719e8

Please sign in to comment.