Add RuboCop

* Exclude bin/ because it's generated code
* Max line length of 120 characters
* Documentation not required
* Prefer double-quoted strings
This commit is contained in:
Dan Rice 2016-01-31 11:33:59 -05:00 committed by Matt Rogers
parent ddffe8f529
commit 80ec0b6df0
3 changed files with 30 additions and 0 deletions

15
.rubocop.yml Normal file
View file

@ -0,0 +1,15 @@
Rails:
Enabled: true
AllCops:
Exclude:
- bin/*
Metrics/LineLength:
Max: 120
Style/Documentation:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes