Set up Rubocop

This commit is contained in:
Kevin McConnell
2024-06-21 15:47:25 +01:00
parent e16323c70a
commit b9cf8c5e9d
15 changed files with 79 additions and 43 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ Rails.application.configure do
# Log to STDOUT by default
config.logger = ActiveSupport::Logger.new(STDOUT)
.tap { |logger| logger.formatter = ::Logger::Formatter.new }
.then { |logger| ActiveSupport::TaggedLogging.new(logger) }
.tap { |logger| logger.formatter = ::Logger::Formatter.new }
.then { |logger| ActiveSupport::TaggedLogging.new(logger) }
# Prepend all log lines with the following tags.
config.log_tags = [ :request_id ]