foreman-docker / .rubocop.yml @ 3bc253a2
1 |
AllCops:
|
---|---|
2 |
RunRailsCops: true # always run the rails cops |
3 |
|
4 |
# Don't enforce documentation
|
5 |
Style/Documentation:
|
6 |
Enabled: false |
7 |
|
8 |
# Need to support ruby 1.8
|
9 |
Style/HashSyntax:
|
10 |
EnforcedStyle: hash_rockets |
11 |
|
12 |
# Force before_filter until upgrade to Rails 4
|
13 |
Rails/ActionFilter:
|
14 |
EnforcedStyle: filter |
15 |
|
16 |
Metrics/LineLength:
|
17 |
Max: 132 # Half of a 1920x1080 screen |
18 |
|
19 |
Metrics/MethodLength:
|
20 |
Max: 20 |
21 |
|
22 |
StringLiterals:
|
23 |
Enabled: false |