From fd089862bf5a5c5bc8161b08a6d73d3cc367efde Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 5 Jul 2019 13:55:19 -0700 Subject: [PATCH] chefstyle on chefstyle plus fixing dups --- Rakefile | 2 +- config/chefstyle.yml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Rakefile b/Rakefile index c7258e1..c948ee6 100644 --- a/Rakefile +++ b/Rakefile @@ -38,4 +38,4 @@ task :console do ARGV.clear IRB.start end -task default: [:build, :install] +task default: %i{build install} diff --git a/config/chefstyle.yml b/config/chefstyle.yml index b26a5d0..3c29610 100644 --- a/config/chefstyle.yml +++ b/config/chefstyle.yml @@ -253,8 +253,6 @@ Lint/FlipFlop: Enabled: true Style/For: Enabled: true -Style/FormatStringToken: - Enabled: true Style/HashSyntax: Enabled: true Naming/HeredocDelimiterCase: @@ -497,8 +495,6 @@ Layout/SpaceInsideParens: Enabled: false Layout/SpaceInsidePercentLiteralDelimiters: Enabled: false -Layout/SpaceInsideArrayLiteralBrackets: - Enabled: false # more whitespace cops that we allow since they can enhance readability Layout/EmptyLinesAroundBlockBody: