# Offense count: 62
# Configuration parameters: CountComments.
Metrics/ClassLength:
- Max: 1650
+ Max: 1652
# Offense count: 68
Metrics/CyclomaticComplexity:
Style/NumericLiterals:
MinDigits: 11
-# Offense count: 38
-# Cop supports --auto-correct.
-Style/PerlBackrefs:
- Exclude:
- - 'app/controllers/amf_controller.rb'
- - 'app/helpers/browse_helper.rb'
- - 'config/initializers/paperclip.rb'
- - 'lib/id.rb'
- - 'lib/potlatch.rb'
- - 'test/lib/i18n_test.rb'
-
# Offense count: 8
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
Style/RescueModifier:
Exclude:
- 'app/helpers/browse_helper.rb'
-
-# Offense count: 8
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-# SupportedStyles: single_quotes, double_quotes
-Style/StringLiteralsInInterpolation:
- Exclude:
- - 'app/controllers/amf_controller.rb'
- - 'app/models/node.rb'
- - 'app/models/way.rb'
- - 'lib/migrate.rb'
- - 'test/controllers/changeset_controller_test.rb'