Commit 8a58f927 authored by Sean Arnold's avatar Sean Arnold

Enable Rails/TimeZone cop in lib

Move existing offences to todo
parent 9e404d35
...@@ -470,8 +470,10 @@ Rails/TimeZone: ...@@ -470,8 +470,10 @@ Rails/TimeZone:
Include: Include:
- 'app/controllers/**/*' - 'app/controllers/**/*'
- 'app/services/**/*' - 'app/services/**/*'
- 'lib/**/*'
- 'spec/controllers/**/*' - 'spec/controllers/**/*'
- 'spec/services/**/*' - 'spec/services/**/*'
- 'spec/lib/**/*'
- 'ee/app/controllers/**/*' - 'ee/app/controllers/**/*'
- 'ee/app/services/**/*' - 'ee/app/services/**/*'
- 'ee/spec/controllers/**/*' - 'ee/spec/controllers/**/*'
...@@ -484,7 +486,10 @@ Rails/TimeZone: ...@@ -484,7 +486,10 @@ Rails/TimeZone:
- 'spec/workers/**/*' - 'spec/workers/**/*'
- 'ee/app/workers/**/*' - 'ee/app/workers/**/*'
- 'ee/spec/workers/**/*' - 'ee/spec/workers/**/*'
- 'ee/lib/**/*'
- 'ee/spec/lib/**/*'
Exclude:
- lib/gitlab/popen.rb
# WIP: See https://gitlab.com/gitlab-org/gitlab/-/issues/220040 # WIP: See https://gitlab.com/gitlab-org/gitlab/-/issues/220040
Rails/SaveBang: Rails/SaveBang:
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment