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

rubocop base

parent 496c594a
No related branches found
No related tags found
No related merge requests found
...@@ -107,10 +107,11 @@ Minitest/MultipleAssertions: ...@@ -107,10 +107,11 @@ Minitest/MultipleAssertions:
# Rails/DangerousColumnNames: mainly to allow adding and changing column named 'id' # Rails/DangerousColumnNames: mainly to allow adding and changing column named 'id'
# Rails/NegateInclude: allow classes to define include? and not force to also define exclude?, like IPAddr # Rails/NegateInclude: allow classes to define include? and not force to also define exclude?, like IPAddr
# Rails/RakeEnvironment: allow tasks to not depend on :environment task # Rails/RakeEnvironment: allow tasks to not depend on :environment task
# Rails/RefuteMethods: allow to use refute methods, especially useful for gems
# 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/DevelopmentHosts', 'ItcGemRubocop/NocPortalRz', 'Lint/UnusedMethodArgument', 'Naming/PredicateName', 'Naming/VariableNumber', 'Rails/CreateTableWithTimestamps', 'Rails/DangerousColumnNames', 'Rails/NegateInclude', 'Rails/RakeEnvironment', 'Rails/ThreeStateBooleanColumn'] AllowedCops: ['ItcGemRubocop/DevelopmentHosts', 'ItcGemRubocop/NocPortalRz', 'Lint/UnusedMethodArgument', 'Naming/PredicateName', 'Naming/VariableNumber', 'Rails/CreateTableWithTimestamps', 'Rails/DangerousColumnNames', 'Rails/NegateInclude', 'Rails/RakeEnvironment', 'Rails/RefuteMethods', '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