You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.rubocop.yml 973B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. inherit_from: .rubocop_todo.yml
  2. AllCops:
  3. TargetRubyVersion: 2.3
  4. TargetRailsVersion: 5.2
  5. Exclude:
  6. - '**/vendor/**/*'
  7. - '**/tmp/**/*'
  8. - '**/bin/**/*'
  9. - '**/plugins/**/*'
  10. - '**/extra/**/*'
  11. - '**/lib/generators/**/templates/*'
  12. - '**/lib/tasks/**/*'
  13. - '**/files/**/*'
  14. # Enable extensions
  15. require:
  16. - rubocop-performance
  17. - rubocop-rails
  18. # Rules for Redmine
  19. Layout/SpaceBeforeBlockBraces:
  20. Enabled: false
  21. Layout/TrailingWhitespace:
  22. AllowInHeredoc: true
  23. Metrics:
  24. Enabled: false
  25. Rails/BulkChangeTable:
  26. Exclude:
  27. - 'db/migrate/20120714122200_add_workflows_rule_fields.rb'
  28. - 'db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb'
  29. Style/FrozenStringLiteralComment:
  30. Enabled: true
  31. EnforcedStyle: always
  32. Exclude:
  33. - 'db/**/*.rb'
  34. - 'Gemfile'
  35. - 'Rakefile'
  36. - 'config.ru'
  37. - 'config/additional_environment.rb'
  38. Style/HashSyntax:
  39. Enabled: true
  40. EnforcedStyle: no_mixed_keys