mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
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:
parent
ddffe8f529
commit
80ec0b6df0
3 changed files with 30 additions and 0 deletions
15
.rubocop.yml
Normal file
15
.rubocop.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
Rails:
|
||||
Enabled: true
|
||||
|
||||
AllCops:
|
||||
Exclude:
|
||||
- bin/*
|
||||
|
||||
Metrics/LineLength:
|
||||
Max: 120
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
Style/StringLiterals:
|
||||
EnforcedStyle: double_quotes
|
Loading…
Add table
Add a link
Reference in a new issue