Skip to content

Commit 8e4e51e

Browse files
committed
add link to the relevant eslint rule
1 parent 6945dd9 commit 8e4e51e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,6 +1291,8 @@ Other Style Guides
12911291
12921292
- [15.5](#15.5) <a name='15.5'></a> Ternaries should not be nested and generally be single line expressions.
12931293
1294+
eslint rules: [`no-nested-ternary`](http://eslint.org/docs/rules/no-nested-ternary.html).
1295+
12941296
```javascript
12951297
//bad
12961298
const foo = maybe1 > maybe2

0 commit comments

Comments
 (0)