.rubocop_todo.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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: 97
  36. # Offense count: 27
  37. # Configuration parameters: CountComments.
  38. Metrics/ModuleLength:
  39. Max: 559
  40. # Offense count: 274
  41. Metrics/PerceivedComplexity:
  42. Max: 115
  43. # Offense count: 3
  44. # Cop supports --auto-correct.
  45. Rails/ApplicationRecord:
  46. Exclude:
  47. - 'app/models/application_model.rb'
  48. - 'app/models/notification.rb'
  49. - 'app/models/token.rb'
  50. # Offense count: 2
  51. # Cop supports --auto-correct.
  52. # Configuration parameters: Include.
  53. # Include: **/test/**/*
  54. Rails/AssertNot:
  55. Exclude:
  56. - 'test/browser/admin_permissions_granular_vs_full_test.rb'
  57. # Offense count: 13
  58. # Configuration parameters: Include.
  59. # Include: db/migrate/*.rb
  60. Rails/CreateTableWithTimestamps:
  61. Exclude:
  62. - 'db/migrate/20120101000001_create_base.rb'
  63. - 'db/migrate/20120101000010_create_ticket.rb'
  64. - 'db/migrate/20170419000002_overview_role_ids.rb'
  65. - 'db/migrate/20170608151442_enhanced_permissions.rb'
  66. # Offense count: 8
  67. # Configuration parameters: Include.
  68. # Include: app/models/**/*.rb
  69. Rails/HasManyOrHasOneDependent:
  70. Exclude:
  71. - 'app/models/chat/session.rb'
  72. - 'app/models/concerns/has_groups.rb'
  73. - 'app/models/email_address.rb'
  74. - 'app/models/organization.rb'
  75. - 'app/models/signature.rb'
  76. - 'app/models/ticket/state_type.rb'
  77. - 'app/models/user.rb'
  78. # Offense count: 808
  79. Style/Documentation:
  80. Enabled: false
  81. # Offense count: 172
  82. # Cop supports --auto-correct.
  83. # Configuration parameters: EnforcedStyle.
  84. # SupportedStyles: implicit, explicit
  85. Style/RescueStandardError:
  86. Enabled: false