Skip to content

Commit

Permalink
Docs: Fix always-multiline example in multiline-ternary docs (#8904)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwoltman authored and not-an-aardvark committed Jul 9, 2017
1 parent 5ea79dc commit 1a89e1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/multiline-ternary.md
Expand Up @@ -68,7 +68,7 @@ foo > bar ?
Examples of **incorrect** code for this rule with the `"always-multiline"` option:

```js
/*eslint multiline-ternary: ["error", "always"]*/
/*eslint multiline-ternary: ["error", "always-multiline"]*/

foo > bar ? value1 :
value2;
Expand All @@ -83,7 +83,7 @@ foo > bar &&
Examples of **correct** code for this rule with the `"always-multiline"` option:

```js
/*eslint multiline-ternary: ["error", "always"]*/
/*eslint multiline-ternary: ["error", "always-multiline"]*/

foo > bar ? value1 : value2;

Expand Down

0 comments on commit 1a89e1c

Please sign in to comment.