X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/90a349e0bc558441e65156eabb585c578d93fbfd..cb5c32674c4dd29e6bd2db3bfad2e238f6af6d67:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 07985407d..f5d3d4c19 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,7 @@ inherit_from: .rubocop_todo.yml +require: rubocop-performance + AllCops: TargetRubyVersion: 2.3 @@ -13,7 +15,7 @@ Layout/ExtraSpacing: Layout/IndentHeredoc: EnforcedStyle: squiggly -Style/FileName: +Naming/FileName: Exclude: - 'cookbooks/trac/files/default/trac-authenticate' - 'cookbooks/planet/files/default/replication-bin/replicate-changesets' @@ -21,12 +23,18 @@ Style/FileName: - 'hooks/*' - 'roles/*.rb' +Naming/UncommunicativeMethodParamName: + Enabled: false + Style/FrozenStringLiteralComment: EnforcedStyle: never Style/HashSyntax: EnforcedStyle: hash_rockets +Style/IfUnlessModifier: + Enabled: false + Style/StringLiterals: EnforcedStyle: double_quotes