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 867B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. Rails:
  16. Enabled: true
  17. # Rules for Redmine
  18. Layout/SpaceBeforeBlockBraces:
  19. Enabled: false
  20. Rails/BulkChangeTable:
  21. Exclude:
  22. - 'db/migrate/20120714122200_add_workflows_rule_fields.rb'
  23. - 'db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb'
  24. Style/FrozenStringLiteralComment:
  25. Enabled: true
  26. EnforcedStyle: always
  27. Exclude:
  28. - 'db/**/*.rb'
  29. - 'Gemfile'
  30. - 'Rakefile'
  31. - 'config.ru'
  32. - 'config/additional_environment.rb'
  33. Style/HashSyntax:
  34. Enabled: true
  35. EnforcedStyle: no_mixed_keys