Skip to content

Commit

Permalink
Allow chefstyle to autocorrect indentation issues
Browse files Browse the repository at this point in the history
This has been working great in cookstyle and greatly reduces the amount of time necessary to get a project using chefstyle.

Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Mar 11, 2020
1 parent 32c232a commit 92f7bcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/chefstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Lint/Debugger:
Enabled: true
Layout/DefEndAlignment:
Enabled: true
AutoCorrect: true
Lint/DeprecatedClassMethods:
Enabled: true
Lint/DuplicateCaseCondition:
Expand All @@ -53,6 +54,7 @@ Lint/EmptyWhen:
Enabled: true
Layout/EndAlignment:
Enabled: true
AutoCorrect: true
Lint/EndInMethod:
Enabled: true
Lint/EnsureReturn:
Expand Down

0 comments on commit 92f7bcb

Please sign in to comment.