Rubocop Layout/LineLength: How to ignore lines with comments?
There is a way to ignore cops on a per line basis. There is also a way to do it via configuration file. Run rubocop –auto-gen-config and it will generate a file that you can use to disable the offenses. The command also gives a hint on what to do to load those options. On … Read more