You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .rubocop.yml
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -113,3 +113,7 @@ Security/Eval:
113
113
Style/IfUnlessModifier:
114
114
Description: Checks for `if` and `unless` statements that would fit on one line if written as modifier `if`/`unless`. The cop also checks for modifier `if`/`unless` lines that exceed the maximum line length.
115
115
Enabled: false
116
+
117
+
Style/MultipleComparison:
118
+
Description: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead.
0 commit comments