Files
codeocean/.rubocop_todo.yml
Sebastian Serth 2d1bad57e7 Disable Rails/ThreeStateBooleanColumn cop for now (#ToDo)
We have too many old migrations to fix.
2023-04-11 00:55:28 +02:00

63 lines
929 B
YAML

# TODOs
# Lots of line are too long too.
#
Layout/LineLength:
Max: 325
Metrics/BlockLength:
Max: 110
Metrics/ClassLength:
Max: 600
Metrics/ModuleLength:
Max: 225
# It's a very complicated application...
#
Metrics/CyclomaticComplexity:
Max: 20
Metrics/PerceivedComplexity:
Max: 25
# We don't want to change previous migrations...
#
Rails/CreateTableWithTimestamps:
Enabled: false
Rails/BulkChangeTable:
Enabled: false
Rails/ReversibleMigration:
Enabled: false
Rails/NotNullColumn:
Enabled: false
Rails/ThreeStateBooleanColumn:
Enabled: false
# The models need to be fixed anyway
#
Rails/UniqueValidationWithoutIndex:
Enabled: false
Rails/HasManyOrHasOneDependent:
Enabled: false
Rails/HasAndBelongsToMany:
Enabled: false
Rails/InverseOf:
Enabled: false
# We have too many specs with too many lets
#
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/AnyInstance:
Enabled: false