diff --git a/.rubocop.yml b/.rubocop.yml index a944e783e3d1b8006596762c5116271b8c4ad50d..be3a61a5fde6edb7d12f44f8f49c17a5c2ff82c5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -72,6 +72,11 @@ Lint/LastKeywordArgument: Enabled: true Safe: false +Lint/EmptyFile: + Exclude: + - 'db/seeds.rb' + - 'ee/db/geo/seeds.rb' + # This cop checks whether some constant value isn't a # mutable literal (e.g. array or hash). Style/MutableConstant: diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index ac3734779621e342f1e7fd9982f9d275b0484677..0aad4d7f35c82e811702153459ec5f7ac1e93a17 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,13 +11,6 @@ Gitlab/PolicyRuleBoolean: Exclude: - 'ee/app/policies/ee/identity_provider_policy.rb' -# Offense count: 2 -# Configuration parameters: AllowComments. -Lint/EmptyFile: - Exclude: - - 'db/seeds.rb' - - 'ee/db/geo/seeds.rb' - # Offense count: 200 # Cop supports --auto-correct. Lint/RedundantCopDisableDirective: