From 8588b36f62cc6a0abe370fbdb107ebc3d4e8d67d Mon Sep 17 00:00:00 2001 From: Kyrylo Silin Date: Sat, 3 Nov 2018 21:58:02 +0800 Subject: [PATCH] rubocop: disable Layout/IndentHeredoc This cop suggests to install a library to format heredocs. LOL --- .rubocop.yml | 3 +++ .rubocop_todo.yml | 12 ------------ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 280287d1..3a0e3bea 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,3 +2,6 @@ inherit_from: .rubocop_todo.yml Style/NumericPredicate: Enabled: false + +Layout/IndentHeredoc: + Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a2ed8fe2..66d639a7 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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.