Re:My Beef with RuboCop
by 3np on Thursday November 19, 2020 @08:37AM
(#25149283)
Whenever you disagree with Rubocop and want it to shut up:
rubocop -a --auto-gen-config --auto-gen-only-exclude
Your just added exceptions for the leftovers that didn't pass the initial lint. But obv use this only after you cleaned up anything that should be. -a by itself autofixes anything it knows how to.
rubocop -a --auto-gen-config --auto-gen-only-exclude
Your just added exceptions for the leftovers that didn't pass the initial lint. But obv use this only after you cleaned up anything that should be. -a by itself autofixes anything it knows how to.