2019-04-10 17:42:44 +00:00
|
|
|
# This configuration was generated by
|
|
|
|
# `rubocop --auto-gen-config`
|
2019-09-02 11:52:11 +00:00
|
|
|
# on 2019-09-02 13:20:31 +0200 using RuboCop version 0.74.0.
|
2019-04-10 17:42:44 +00:00
|
|
|
# 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: 8
|
|
|
|
# Configuration parameters: MaximumRangeSize.
|
|
|
|
Lint/MissingCopEnableDirective:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/import/factory.rb'
|
|
|
|
- 'lib/import/helper.rb'
|
|
|
|
- 'lib/import/otrs/async.rb'
|
|
|
|
- 'lib/import/otrs/history.rb'
|
|
|
|
- 'lib/import/otrs/priority_factory.rb'
|
|
|
|
- 'lib/import/otrs/state_factory.rb'
|
|
|
|
- 'lib/import/otrs/user_factory.rb'
|
|
|
|
- 'lib/import/transaction_factory.rb'
|
|
|
|
|
2019-10-11 15:16:47 +00:00
|
|
|
# ATTENTION: Don't use the value auto generated by Rubocop.
|
|
|
|
# db/migrate/20120101000001_create_base.rb is the largest and will continue to grow.
|
2018-04-12 14:57:37 +00:00
|
|
|
Metrics/AbcSize:
|
2019-10-11 15:16:47 +00:00
|
|
|
Enabled: false
|
2018-04-12 14:57:37 +00:00
|
|
|
|
2019-09-02 11:52:11 +00:00
|
|
|
# Offense count: 29
|
2019-04-10 17:42:44 +00:00
|
|
|
# Configuration parameters: CountBlocks.
|
2018-04-12 14:57:37 +00:00
|
|
|
Metrics/BlockNesting:
|
2019-04-10 17:42:44 +00:00
|
|
|
Max: 5
|
2018-04-12 14:57:37 +00:00
|
|
|
|
2019-09-02 11:52:11 +00:00
|
|
|
# Offense count: 340
|
2019-04-10 17:42:44 +00:00
|
|
|
Metrics/CyclomaticComplexity:
|
2020-02-20 12:34:16 +00:00
|
|
|
Max: 107
|
2018-04-12 14:57:37 +00:00
|
|
|
|
2019-09-02 11:52:11 +00:00
|
|
|
# Offense count: 27
|
2019-04-10 17:42:44 +00:00
|
|
|
# Configuration parameters: CountComments.
|
|
|
|
Metrics/ModuleLength:
|
2020-03-20 05:11:50 +00:00
|
|
|
Max: 578
|
2018-04-12 14:57:37 +00:00
|
|
|
|
2019-09-02 11:52:11 +00:00
|
|
|
# Offense count: 274
|
2019-04-10 17:42:44 +00:00
|
|
|
Metrics/PerceivedComplexity:
|
2020-02-20 12:34:16 +00:00
|
|
|
Max: 125
|
2018-04-12 14:57:37 +00:00
|
|
|
|
2019-04-10 17:42:44 +00:00
|
|
|
# Offense count: 2
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: Include.
|
|
|
|
# Include: **/test/**/*
|
2018-10-09 06:17:41 +00:00
|
|
|
Rails/AssertNot:
|
|
|
|
Exclude:
|
2019-04-10 17:42:44 +00:00
|
|
|
- 'test/browser/admin_permissions_granular_vs_full_test.rb'
|
2018-10-09 06:17:41 +00:00
|
|
|
|
2019-04-10 17:42:44 +00:00
|
|
|
# Offense count: 13
|
|
|
|
# Configuration parameters: Include.
|
|
|
|
# Include: db/migrate/*.rb
|
2018-04-12 14:57:37 +00:00
|
|
|
Rails/CreateTableWithTimestamps:
|
2019-04-10 17:42:44 +00:00
|
|
|
Exclude:
|
|
|
|
- 'db/migrate/20120101000001_create_base.rb'
|
|
|
|
- 'db/migrate/20120101000010_create_ticket.rb'
|
|
|
|
- 'db/migrate/20170419000002_overview_role_ids.rb'
|
|
|
|
- 'db/migrate/20170608151442_enhanced_permissions.rb'
|
|
|
|
|
|
|
|
# Offense count: 8
|
|
|
|
# Configuration parameters: Include.
|
|
|
|
# Include: app/models/**/*.rb
|
2018-04-12 14:57:37 +00:00
|
|
|
Rails/HasManyOrHasOneDependent:
|
2019-04-10 17:42:44 +00:00
|
|
|
Exclude:
|
|
|
|
- 'app/models/chat/session.rb'
|
|
|
|
- 'app/models/concerns/has_groups.rb'
|
|
|
|
- 'app/models/email_address.rb'
|
|
|
|
- 'app/models/organization.rb'
|
|
|
|
- 'app/models/signature.rb'
|
|
|
|
- 'app/models/ticket/state_type.rb'
|
|
|
|
- 'app/models/user.rb'
|
|
|
|
|
2019-09-02 11:52:11 +00:00
|
|
|
# Offense count: 808
|
2018-04-12 14:57:37 +00:00
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
|
|
|
|