.rubocop.yml
# TODO: remove this file by either moving cops here or fixing code
inherit_from:
- .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.2
TargetRailsVersion: 5.1
Rails: # always run the rails cops
Enabled: true
# Don't is_a? over kind_of?
Style/ClassCheck:
Enabled: false
# Don't enforce documentation
Style/Documentation:
Enabled: false
# Support both ruby19 and hash_rockets
Style/HashSyntax:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Metrics/ClassLength:
Exclude:
- 'test/**/*'
Performance/FixedSize:
Exclude:
- 'test/**/*'
Rails/Date:
Exclude:
- foreman_docker.gemspec