Skip to content

Commit

Permalink
also add alignparameters along with negatedunless
Browse files Browse the repository at this point in the history
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
  • Loading branch information
lamont-granquist committed Jul 8, 2019
1 parent df4e603 commit a7105f8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/chefstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -310,6 +315,8 @@ Style/NegatedIf:
Enabled: true
Style/NegatedWhile:
Enabled: true
Style/NegatedUnless:
Enabled: true
Style/NestedModifier:
Enabled: true
Style/NestedTernaryOperator:
Expand Down

0 comments on commit a7105f8

Please sign in to comment.