Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sbaha88
· 6y ago · 0 comments
I remember having a bug because Rubocop changed 'and' to '&&'. I don't think that a linter should have a rule that breaks the language rules
Comments
[–]
joeframbach
6y ago
Yup. `conditional or return fallbackValue`. Rubocop desperately wants to change this to `conditional || return fallbackValue` but that's just.... not a thing.