Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit e7adb9b

Browse files
Add multiline-ternary to unused rules
1 parent 283edfb commit e7adb9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

unused.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ module.exports = {
6767
// Unused, too restrictive.
6868
'lines-around-comment': 0,
6969

70+
// Enforce newlines between operands of ternary expressions
71+
// Unused, ternaries are usually simple enough that they are OK to be written on a single line.
72+
'multiline-ternary': 0,
73+
7074
// Disallow continue
7175
// Unused, continue seems to be quite useful.
7276
'no-continue': 0,

0 commit comments

Comments
 (0)