Skip to content
Snippets Groups Projects
Commit 7193d03c authored by Darius Schneider's avatar Darius Schneider
Browse files

added exception for ItcGemRubocop/DevelopmentHosts for rubocop:disable comments

parent 14fa5df6
No related branches found
No related tags found
No related merge requests found
...@@ -127,6 +127,7 @@ Rails/SkipsModelValidations: ...@@ -127,6 +127,7 @@ Rails/SkipsModelValidations:
# BEGIN Style # BEGIN Style
# prevent getting around most cops, but allow a few that may be impossible to resolve otherwise, f.e.: # 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 # 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 # 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' # Naming/PredicateName: allow DSL style methods like Rails 'has_one'
...@@ -137,7 +138,7 @@ Rails/SkipsModelValidations: ...@@ -137,7 +138,7 @@ Rails/SkipsModelValidations:
# Rails/ThreeStateBooleanColumn: allow usage of three-state boolean columns, it may be an STI table # Rails/ThreeStateBooleanColumn: allow usage of three-state boolean columns, it may be an STI table
Style/DisableCopsWithinSourceCodeDirective: Style/DisableCopsWithinSourceCodeDirective:
Enabled: true 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 # documentation of classes in migrations and tests is not needed
Style/Documentation: Style/Documentation:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment