Skip to content

Commit

Permalink
Fixes #17816 - Disable some cops disabled in Foreman
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka committed Jan 16, 2017
1 parent 7992ac8 commit bfcbf99
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ AllCops:
Rails:
Enabled: true

# KWargs are not present in actionpack < 5
Rails/HttpPositionalArguments:
# Don't prefer is_a? over kind_of?
Style/ClassCheck:
Enabled: false

# Don't enforce documentation
Expand All @@ -22,3 +22,11 @@ Style/Documentation:
# Support both ruby19 and hash_rockets
Style/HashSyntax:
Enabled: false

# Both double and single quotes are OK
Style/StringLiterals:
Enabled: false

# Don't enforce frozen string literals
Style/FrozenStringLiteralComment:
Enabled: false
3 changes: 3 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ Rails/Exit:
- 'lib/**/*.rake'
- 'lib/foreman_tasks/dynflow/daemon.rb'

Rails/HttpPositionalArguments:
Enabled: false

# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
Rails/Output:
Expand Down

0 comments on commit bfcbf99

Please sign in to comment.