config/cookstyle.yml in cookstyle-5.22.6 vs config/cookstyle.yml in cookstyle-5.23.0
- old
+ new
@@ -127,11 +127,11 @@
Enabled: false
VersionAdded: '5.20.0'
ChefStyle/UnnecessaryOSCheck:
Description: Use the platform_family?() helpers instead of node['os] == 'foo' for platform_families that match 1:1 with OS values. These helpers are easier to read and can accept multiple platform arguments, which greatly simplifies complex platform logic.
- Enabled: false
+ Enabled: true
VersionAdded: '5.21.0'
###############################
# ChefCorrectness: Avoiding potential problems
###############################
@@ -1550,11 +1550,9 @@
Style/ParenthesesAroundCondition:
Enabled: true
Style/PercentQLiterals:
Enabled: true
Style/PerlBackrefs:
- Enabled: true
-Naming/PredicateName:
Enabled: true
Style/Proc:
Enabled: true
Style/RaiseArgs:
Enabled: true
\ No newline at end of file