# Offense count: 58
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/CyclomaticComplexity:
- Max: 25
+ Max: 26
# Offense count: 751
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Offense count: 57
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/PerceivedComplexity:
- Max: 26
+ Max: 27
# Offense count: 2495
# This cop supports safe autocorrection (--autocorrect).
- 'app/controllers/user_blocks_controller.rb'
- 'app/controllers/users_controller.rb'
-# Offense count: 18
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: ExpectedOrder, Include.
-# ExpectedOrder: index, show, new, edit, create, update, destroy
-# Include: app/controllers/**/*.rb
-Rails/ActionOrder:
- Exclude:
- - 'app/controllers/api/changesets_controller.rb'
- - 'app/controllers/api/nodes_controller.rb'
- - 'app/controllers/api/notes_controller.rb'
- - 'app/controllers/api/relations_controller.rb'
- - 'app/controllers/api/traces_controller.rb'
- - 'app/controllers/api/users_controller.rb'
- - 'app/controllers/api/ways_controller.rb'
- - 'app/controllers/diary_entries_controller.rb'
- - 'app/controllers/messages_controller.rb'
- - 'app/controllers/oauth_clients_controller.rb'
- - 'app/controllers/redactions_controller.rb'
- - 'app/controllers/traces_controller.rb'
- - 'app/controllers/users_controller.rb'
-
# Offense count: 5
# Configuration parameters: Database, Include.
# SupportedDatabases: mysql, postgresql