From a7105f8a6b4a5a1e97b8009cb7f129ec955e2c04 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 8 Jul 2019 14:47:37 -0700 Subject: [PATCH] also add alignparameters along with negatedunless Signed-off-by: Lamont Granquist --- config/chefstyle.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/chefstyle.yml b/config/chefstyle.yml index 3c29610..34cbccc 100644 --- a/config/chefstyle.yml +++ b/config/chefstyle.yml @@ -185,6 +185,11 @@ Layout/AccessModifierIndentation: Layout/AlignArguments: Enabled: true EnforcedStyle: with_fixed_indentation +Layout/AlignParameters: + Enabled: true + EnforcedStyle: with_fixed_indentation +# the "ignore_implict" is here for keyword args in method calls which are +# "implicit" hashes, and those should not be treated like normal hashes Layout/AlignHash: Enabled: true EnforcedLastArgumentHashStyle: ignore_implicit @@ -310,6 +315,8 @@ Style/NegatedIf: Enabled: true Style/NegatedWhile: Enabled: true +Style/NegatedUnless: + Enabled: true Style/NestedModifier: Enabled: true Style/NestedTernaryOperator: