.rubocop_todo.yml 2.6 KB

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