Skip to content

Commit

Permalink
Enforce newlines between operands of ternary expressions if the expre…
Browse files Browse the repository at this point in the history
…ssion spans multiple lines (multiline-ternary)

Fixes: standard/standard#1558
  • Loading branch information
feross committed Oct 22, 2020
1 parent 609e819 commit 022e671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"default-case-last": "error",
"no-useless-backreference": "error",
"no-unreachable-loop": "error",
"multiline-ternary": ["error", "always-multiline"],

"accessor-pairs": "error",
"array-bracket-spacing": ["error", "never"],
Expand Down

0 comments on commit 022e671

Please sign in to comment.