rubocop: disable Layout/IndentHeredoc

This cop suggests to install a library to format heredocs. LOL
This commit is contained in:
Kyrylo Silin 2018-11-03 21:58:02 +08:00
parent 165a16eae6
commit 8588b36f62
2 changed files with 3 additions and 12 deletions

View File

@ -2,3 +2,6 @@ inherit_from: .rubocop_todo.yml
Style/NumericPredicate:
Enabled: false
Layout/IndentHeredoc:
Enabled: false

View File

@ -289,18 +289,6 @@ Layout/IndentHash:
- 'lib/pry/prompt.rb'
- 'lib/pry/pry_instance.rb'
# Offense count: 23
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
Layout/IndentHeredoc:
Exclude:
- 'lib/pry/commands/gem_stats.rb'
- 'lib/pry/pry_class.rb'
- 'spec/helpers/table_spec.rb'
- 'spec/indent_spec.rb'
- 'spec/pry_repl_spec.rb'
# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.