1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- # This configuration was generated by
- # `rubocop --auto-gen-config`
- # on 2018-12-24 21:00:37 +0100 using RuboCop version 0.60.0.
- # The point is for the user to remove these configuration records
- # one by one as the offenses are removed from the code base.
- # Note that changes in the inspected code, or installation of new
- # versions of RuboCop, may require this file to be generated again.
- # Offense count: 2
- # Cop supports --auto-correct.
- Rails/ActiveRecordAliases:
- Exclude:
- - 'app/controllers/activities_controller.rb'
- - 'app/controllers/api/activities_controller.rb'
- # Offense count: 1
- # Configuration parameters: Include.
- # Include: db/migrate/*.rb
- Rails/CreateTableWithTimestamps:
- Exclude:
- - 'db/migrate/20170210180426_remove_tokens_from_users.rb'
- # Offense count: 1
- # Configuration parameters: EnforcedStyle.
- # SupportedStyles: slashes, arguments
- Rails/FilePath:
- Exclude:
- - 'config/environments/development.rb'
- # Offense count: 1
- # Configuration parameters: Include.
- # Include: app/models/**/*.rb
- Rails/HasManyOrHasOneDependent:
- Exclude:
- - 'app/models/person.rb'
- # Offense count: 1
- # Cop supports --auto-correct.
- # Configuration parameters: EnforcedStyle.
- # SupportedStyles: numeric, symbolic
- Rails/HttpStatus:
- Exclude:
- - 'app/controllers/application_controller.rb'
- # Offense count: 6
- # Cop supports --auto-correct.
- Rails/PluralizationGrammar:
- Exclude:
- - 'app/helpers/authentication_helper.rb'
- - 'app/models/person.rb'
- - 'app/models/token.rb'
- - 'db/seeds.rb'
- # Offense count: 1
- # Configuration parameters: Include.
- # Include: db/migrate/*.rb
- Rails/ReversibleMigration:
- Exclude:
- - 'db/migrate/20161214112504_remove_group_type_from_groups.rb'
- # Offense count: 4
- # Configuration parameters: Blacklist, Whitelist.
- # Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters
- Rails/SkipsModelValidations:
- Exclude:
- - 'app/controllers/members_controller.rb'
- - 'app/models/activity.rb'
- - 'app/models/user.rb'
- # Offense count: 9
- # Configuration parameters: EnforcedStyle.
- # SupportedStyles: strict, flexible
- Rails/TimeZone:
- Exclude:
- - 'app/controllers/activities_controller.rb'
- - 'app/controllers/api/groups_controller.rb'
- - 'app/controllers/dashboard_controller.rb'
- - 'app/models/group.rb'
- - 'db/seeds.rb'
|