foreman-docker / .rubocop.yml @ 5397ee73
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: 100 |
18 |
|
19 |
Metrics/MethodLength:
|
20 |
Max: 20 |
21 |
|
22 |
StringLiterals:
|
23 |
Enabled: false |
24 |
|
25 |
Metrics/ClassLength:
|
26 |
Max: 200 |
27 |
|
28 |
Metrics/AbcSize:
|
29 |
Enabled: false # should we turn this on? |
30 |
|
31 |
Style/MethodCalledOnDoEndBlock:
|
32 |
Enabled: true |
33 |
|
34 |
Style/DotPosition:
|
35 |
EnforcedStyle: 'leading' |