Y
Hacker News
new
|
ask
|
show
|
jobs
by
sbaha88
2311 days ago
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
1 comments
joeframbach
2311 days ago
Yup. `conditional or return fallbackValue`. Rubocop desperately wants to change this to `conditional || return fallbackValue` but that's just.... not a thing.
link