.rubocop_todo.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. # This configuration was generated by
  2. # `rubocop --auto-gen-config`
  3. # on 2019-04-12 18:08:21 +0800 using RuboCop version 0.67.2.
  4. # The point is for the user to remove these configuration records
  5. # one by one as the offenses are removed from the code base.
  6. # Note that changes in the inspected code, or installation of new
  7. # versions of RuboCop, may require this file to be generated again.
  8. # Offense count: 97
  9. # Cop supports --auto-correct.
  10. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
  11. Layout/ExtraSpacing:
  12. Enabled: false
  13. # Offense count: 8
  14. # Configuration parameters: MaximumRangeSize.
  15. Lint/MissingCopEnableDirective:
  16. Exclude:
  17. - 'lib/import/factory.rb'
  18. - 'lib/import/helper.rb'
  19. - 'lib/import/otrs/async.rb'
  20. - 'lib/import/otrs/history.rb'
  21. - 'lib/import/otrs/priority_factory.rb'
  22. - 'lib/import/otrs/state_factory.rb'
  23. - 'lib/import/otrs/user_factory.rb'
  24. - 'lib/import/transaction_factory.rb'
  25. # Offense count: 469
  26. Metrics/AbcSize:
  27. Max: 637
  28. # Offense count: 28
  29. # Configuration parameters: CountBlocks.
  30. Metrics/BlockNesting:
  31. Max: 5
  32. # Offense count: 336
  33. Metrics/CyclomaticComplexity:
  34. Max: 97
  35. # Offense count: 23
  36. # Configuration parameters: CountComments.
  37. Metrics/ModuleLength:
  38. Max: 559
  39. # Offense count: 272
  40. Metrics/PerceivedComplexity:
  41. Max: 115
  42. # Offense count: 3
  43. # Cop supports --auto-correct.
  44. Performance/Casecmp:
  45. Exclude:
  46. - 'app/models/channel/email_parser.rb'
  47. - 'app/models/channel/filter/database.rb'
  48. - 'lib/tasks/zammad/setup/db_config.rake'
  49. # Offense count: 3
  50. # Cop supports --auto-correct.
  51. Rails/ApplicationRecord:
  52. Exclude:
  53. - 'app/models/application_model.rb'
  54. - 'app/models/notification.rb'
  55. - 'app/models/token.rb'
  56. # Offense count: 2
  57. # Cop supports --auto-correct.
  58. # Configuration parameters: Include.
  59. # Include: **/test/**/*
  60. Rails/AssertNot:
  61. Exclude:
  62. - 'test/browser/admin_permissions_granular_vs_full_test.rb'
  63. # Offense count: 13
  64. # Configuration parameters: Include.
  65. # Include: db/migrate/*.rb
  66. Rails/CreateTableWithTimestamps:
  67. Exclude:
  68. - 'db/migrate/20120101000001_create_base.rb'
  69. - 'db/migrate/20120101000010_create_ticket.rb'
  70. - 'db/migrate/20170419000002_overview_role_ids.rb'
  71. - 'db/migrate/20170608151442_enhanced_permissions.rb'
  72. # Offense count: 8
  73. # Configuration parameters: Include.
  74. # Include: app/models/**/*.rb
  75. Rails/HasManyOrHasOneDependent:
  76. Exclude:
  77. - 'app/models/chat/session.rb'
  78. - 'app/models/concerns/has_groups.rb'
  79. - 'app/models/email_address.rb'
  80. - 'app/models/organization.rb'
  81. - 'app/models/signature.rb'
  82. - 'app/models/ticket/state_type.rb'
  83. - 'app/models/user.rb'
  84. # Offense count: 759
  85. Style/Documentation:
  86. Enabled: false
  87. # Offense count: 170
  88. # Cop supports --auto-correct.
  89. # Configuration parameters: EnforcedStyle.
  90. # SupportedStyles: implicit, explicit
  91. Style/RescueStandardError:
  92. Enabled: false