Add and apply BlockAlignment rubocop rule

This will make it easier to run rubocop with `--autocorrect` when
dealing with the LineLength rule.
This commit is contained in:
Javi Martín
2023-07-01 18:49:34 +02:00
parent 30befbc08a
commit f5c2a3d4ef
2 changed files with 5 additions and 2 deletions

View File

@@ -5,8 +5,8 @@ end
@logger = Logger.new(STDOUT)
@logger.formatter = proc do |_severity, _datetime, _progname, msg|
msg unless Rails.env.test?
end
msg unless Rails.env.test?
end
def load_dev_seeds(dev_seeds_file)
load Rails.root.join("db", "dev_seeds", "#{dev_seeds_file}.rb")