config/chefstyle.yml in chefstyle-1.5.9 vs config/chefstyle.yml in chefstyle-1.6.1

- old
+ new

@@ -685,10 +685,14 @@ # avoid requiring twice Lint/DuplicateRequire: Enabled: true +# detect assignment typos +Lint/AmbiguousAssignment: + Enabled: true + Chef/Ruby/Ruby27KeywordArgumentWarnings: Description: Pass options to shell_out helpers without the brackets to avoid Ruby 2.7 deprecation warnings. Enabled: true VersionAdded: '1.3.0' @@ -707,6 +711,11 @@ - '**/*.gemspec' Chef/Ruby/RequireNetHttps: Description: net/https is deprecated and just includes net/http and openssl. We should include those directly instead Enabled: true - VersionAdded: '1.3.0' \ No newline at end of file + VersionAdded: '1.3.0' + +Chef/Ruby/LegacyPowershellOutMethods: + Description: Use powershell_exec!/powershell_exec instead of the slower legacy powershell_out!/powershell_out methods. + Enabled: true + VersionAdded: '1.6.0'