.rubocop_todo.yml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. # This configuration was generated by
  2. # `rubocop --auto-gen-config`
  3. # on 2019-09-02 13:20:31 +0200 using RuboCop version 0.74.0.
  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: 163
  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. # ATTENTION: Don't use the value auto generated by Rubocop.
  26. # db/migrate/20120101000001_create_base.rb is the largest and will continue to grow.
  27. Metrics/AbcSize:
  28. Enabled: false
  29. # Offense count: 29
  30. # Configuration parameters: CountBlocks.
  31. Metrics/BlockNesting:
  32. Max: 5
  33. # Offense count: 340
  34. Metrics/CyclomaticComplexity:
  35. Max: 107
  36. # Offense count: 27
  37. # Configuration parameters: CountComments.
  38. Metrics/ModuleLength:
  39. Max: 578
  40. # Offense count: 274
  41. Metrics/PerceivedComplexity:
  42. Max: 125
  43. # Offense count: 2
  44. # Cop supports --auto-correct.
  45. # Configuration parameters: Include.
  46. # Include: **/test/**/*
  47. Rails/AssertNot:
  48. Exclude:
  49. - 'test/browser/admin_permissions_granular_vs_full_test.rb'
  50. # Offense count: 13
  51. # Configuration parameters: Include.
  52. # Include: db/migrate/*.rb
  53. Rails/CreateTableWithTimestamps:
  54. Exclude:
  55. - 'db/migrate/20120101000001_create_base.rb'
  56. - 'db/migrate/20120101000010_create_ticket.rb'
  57. - 'db/migrate/20170419000002_overview_role_ids.rb'
  58. - 'db/migrate/20170608151442_enhanced_permissions.rb'
  59. # Offense count: 8
  60. # Configuration parameters: Include.
  61. # Include: app/models/**/*.rb
  62. Rails/HasManyOrHasOneDependent:
  63. Exclude:
  64. - 'app/models/chat/session.rb'
  65. - 'app/models/concerns/has_groups.rb'
  66. - 'app/models/email_address.rb'
  67. - 'app/models/organization.rb'
  68. - 'app/models/signature.rb'
  69. - 'app/models/ticket/state_type.rb'
  70. - 'app/models/user.rb'
  71. # Offense count: 808
  72. Style/Documentation:
  73. Enabled: false
  74. # Offense count: 172
  75. # Cop supports --auto-correct.
  76. # Configuration parameters: EnforcedStyle.
  77. # SupportedStyles: implicit, explicit
  78. Style/RescueStandardError:
  79. Enabled: false