60 lines
880 B
YAML
60 lines
880 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: 23
|
|
|
|
# We don't want to change previous migrations...
|
|
#
|
|
Rails/CreateTableWithTimestamps:
|
|
Enabled: false
|
|
|
|
Rails/BulkChangeTable:
|
|
Enabled: false
|
|
|
|
Rails/ReversibleMigration:
|
|
Enabled: false
|
|
|
|
Rails/NotNullColumn:
|
|
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
|