X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f4d9298947b4e2f3740236d9fe51aec7e63ce31e..d31bdc19783b66b12980da2fa4a13be0388cb046:/.rubocop.yml?ds=sidebyside diff --git a/.rubocop.yml b/.rubocop.yml index 9d38fed38..2219d6ec6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,26 @@ +inherit_from: .rubocop_todo.yml + +Style/AlignParameters: + Exclude: + - '**/metadata.rb' + +Style/ExtraSpacing: + AllowForAlignment: true + +Style/FileName: + Exclude: + - 'cookbooks/trac/files/default/trac-authenticate' + - 'cookbooks/planet/files/default/replication-bin/replicate-changesets' + - 'cookbooks/*/templates/*/*.erb' + - 'hooks/*' + - 'roles/*.rb' + +Style/HashSyntax: + EnforcedStyle: hash_rockets + Style/SingleSpaceBeforeFirstArg: Exclude: - '**/metadata.rb' + +Style/StringLiterals: + EnforcedStyle: double_quotes