123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- # This configuration was generated by
- # `rubocop --auto-gen-config`
- # on 2019-09-02 13:20:31 +0200 using RuboCop version 0.74.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: 163
- # Cop supports --auto-correct.
- # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
- Layout/ExtraSpacing:
- Enabled: false
- # 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'
- # Offense count: 833
- Metrics/AbcSize:
- Max: 637
- # Offense count: 29
- # Configuration parameters: CountBlocks.
- Metrics/BlockNesting:
- Max: 5
- # Offense count: 340
- Metrics/CyclomaticComplexity:
- Max: 97
- # Offense count: 27
- # Configuration parameters: CountComments.
- Metrics/ModuleLength:
- Max: 559
- # Offense count: 274
- Metrics/PerceivedComplexity:
- Max: 115
- # Offense count: 3
- # Cop supports --auto-correct.
- Performance/Casecmp:
- Exclude:
- - 'app/models/channel/email_parser.rb'
- - 'app/models/channel/filter/database.rb'
- - 'lib/tasks/zammad/setup/db_config.rake'
- # Offense count: 3
- # Cop supports --auto-correct.
- Rails/ApplicationRecord:
- Exclude:
- - 'app/models/application_model.rb'
- - 'app/models/notification.rb'
- - 'app/models/token.rb'
- # Offense count: 2
- # Cop supports --auto-correct.
- # Configuration parameters: Include.
- # Include: **/test/**/*
- Rails/AssertNot:
- Exclude:
- - 'test/browser/admin_permissions_granular_vs_full_test.rb'
- # Offense count: 13
- # Configuration parameters: Include.
- # Include: db/migrate/*.rb
- Rails/CreateTableWithTimestamps:
- 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
- Rails/HasManyOrHasOneDependent:
- 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'
- # Offense count: 15
- # Configuration parameters: Include.
- # Include: app/helpers/**/*.rb
- Rails/HelperInstanceVariable:
- Exclude:
- - 'app/helpers/knowledge_base_helper.rb'
- # Offense count: 808
- Style/Documentation:
- Enabled: false
- # Offense count: 172
- # Cop supports --auto-correct.
- # Configuration parameters: EnforcedStyle.
- # SupportedStyles: implicit, explicit
- Style/RescueStandardError:
- Enabled: false
|