diff options
author | ytti <saku@ytti.fi> | 2018-04-25 20:34:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 20:34:10 +0300 |
commit | 96910082ed914ee51f33eaea44dd34f8bf5d11e6 (patch) | |
tree | 63a6229522ad72888b6bbe505786daf7a93558ab /.rubocop.yml | |
parent | 60c3408bfc0f6aa5a89013f99e0763719440f29b (diff) | |
parent | 75765bedae8a8511260d43ec7f46edc994899c7c (diff) |
Merge pull request #1308 from wk/restore-compliance
fine tune rubocop to yttis exacting specifications
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index bc013cd..60b4e11 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -17,6 +17,17 @@ Style/PreferredHashMethods: Style/Not: Enabled: false +# comply with @ytti's exacting specifications +Style/CommandLiteral: + EnforcedStyle: percent_x + +Style/FormatString: + EnforcedStyle: percent + +Style/FormatStringToken: + EnforcedStyle: unannotated + +# Do not attempt to police vendored code, and exclude special cases AllCops: Exclude: - 'vendor/**/*' |