config/cookstyle.yml in cookstyle-1.0.0 vs config/cookstyle.yml in cookstyle-1.0.1
- old
+ new
@@ -68,11 +68,11 @@
Lint/PercentSymbolArray:
Enabled: true
# if you rescue Exception, then rescue say StandardError you're gonna have a bad time
Lint/ShadowedException:
- Enabled: false
+ Enabled: true
# We're on modern ruby so let's assume Integer everywhere
Lint/UnifiedInteger:
Enabled: true
@@ -92,13 +92,9 @@
Style/NumericPredicate:
Enabled: true
# this is bad %w(something another_thing one_more)
Style/SpaceInsideArrayPercentLiteral:
- Enabled: true
-
-# ( true ) ? 'bob' : 'bill' is unnecessary
-Style/TernaryParentheses:
Enabled: true
# disable this until there's an autocorrect
Bundler/OrderedGems:
Enabled: false