config/cookstyle.yml in cookstyle-1.3.1 vs config/cookstyle.yml in cookstyle-1.4.0

- old
+ new

@@ -1,6 +1,7 @@ AllCops: + TargetRubyVersion: 2.0 Exclude: - vendor/**/* - Guardfile AlignParameters: @@ -23,10 +24,12 @@ # disable all the length cops as they're not appropriate for cookbooks LineLength: Enabled: false MethodLength: Enabled: false +BlockLength: + Enabled: false Metrics/AbcSize: Enabled: false Metrics/ModuleLength: Enabled: false Metrics/ClassLength: @@ -46,11 +49,11 @@ Enabled: false # This often triggers no matter what you do with inspec/serverspec matchers Lint/AmbiguousRegexpLiteral: Exclude: - - 'test/**/*' + - '**/*/test/**/*' # some names are not ascii and this prevents copyright comments Style/AsciiComments: Enabled: false @@ -108,5 +111,9 @@ Enabled: false # There's no reason to have a gem listed twice Bundler/DuplicatedGem: Enabled: true + +# This results in very confusing code to read with little perf benefit +Performance/Casecmp: + Enabled: false