I'm working with Ruby under Windows platform. Solving "Carriage return character missing" rubocop offenses, I created file .rubocop.yml
in the root of my project:
Style/EndOfLine:
EnforcedStyle: lf
This solved my "Carriage return" problem. But new warning appears:
~/project/.rubocop.yml:Style/EndOfLine has the wrong namespace - should be Layout
What does it mean "wrong namespace - should be Layout"? At current moment I have no idea where to dig to fix it.
It’s Layout/EndOfLine
, not Style/EndOfLine
. The part before the /
is the namespace.