diff --git a/rails/rubocop/rubocop-base.yml b/rails/rubocop/rubocop-base.yml index 5e471aead538b1addf6fcf1b5a584b5b900e2be1..cb2bc50ed4fcc9d623c30da60f04fd671689264b 100644 --- a/rails/rubocop/rubocop-base.yml +++ b/rails/rubocop/rubocop-base.yml @@ -127,6 +127,7 @@ Rails/SkipsModelValidations: # BEGIN Style # prevent getting around most cops, but allow a few that may be impossible to resolve otherwise, f.e.: +# ItcGemRubocop/DevelopmentHosts: allow usage of different `config.hosts` config in development, if needed # ItcGemRubocop/NocPortalRz: allow usage of string that contains `"noc-portal.rz.rwth-aachen.de"` if really needed # Lint/UnusedMethodArgument: subclasses that are passed unused keyword args, but not using them must be allowed # Naming/PredicateName: allow DSL style methods like Rails 'has_one' @@ -137,7 +138,7 @@ Rails/SkipsModelValidations: # Rails/ThreeStateBooleanColumn: allow usage of three-state boolean columns, it may be an STI table Style/DisableCopsWithinSourceCodeDirective: Enabled: true - AllowedCops: ['ItcGemRubocop/NocPortalRz', 'Lint/UnusedMethodArgument', 'Naming/PredicateName', 'Naming/VariableNumber', 'Rails/CreateTableWithTimestamps', 'Rails/DangerousColumnNames', 'Rails/NegateInclude', 'Rails/ThreeStateBooleanColumn'] + AllowedCops: ['ItcGemRubocop/DevelopmentHosts', 'ItcGemRubocop/NocPortalRz', 'Lint/UnusedMethodArgument', 'Naming/PredicateName', 'Naming/VariableNumber', 'Rails/CreateTableWithTimestamps', 'Rails/DangerousColumnNames', 'Rails/NegateInclude', 'Rails/ThreeStateBooleanColumn'] # documentation of classes in migrations and tests is not needed Style/Documentation: