diff options
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 48 |
1 files changed, 43 insertions, 5 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 33ec248..393726b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml | |||
@@ -1,18 +1,56 @@ | |||
1 | --- | ||
1 | AllCops: | 2 | AllCops: |
2 | DisplayCopNames: true | 3 | DisplayCopNames: true |
3 | DisplayStyleGuide: true | 4 | DisplayStyleGuide: true |
5 | TargetRubyVersion: 2.1.0 | ||
4 | 6 | ||
5 | Documentation: | 7 | Documentation: |
6 | Enabled: false | 8 | Enabled: false |
7 | 9 | ||
8 | Metrics/MethodLength: | 10 | Layout/ExtraSpacing: |
9 | Max: 20 | 11 | ForceEqualSignAlignment: true |
10 | 12 | ||
11 | Metrics/LineLength: | 13 | Layout/MultilineMethodCallIndentation: |
12 | Max: 100 | 14 | Enabled: false |
15 | |||
16 | Lint/AmbiguousBlockAssociation: | ||
17 | Enabled: false | ||
13 | 18 | ||
14 | Metrics/AbcSize: | 19 | Metrics/AbcSize: |
15 | Max: 20 | 20 | Max: 40 |
21 | |||
22 | Metrics/BlockLength: | ||
23 | Enabled: false | ||
24 | |||
25 | Metrics/ClassLength: | ||
26 | Max: 200 | ||
27 | |||
28 | Metrics/CyclomaticComplexity: | ||
29 | Max: 15 | ||
30 | |||
31 | Metrics/LineLength: | ||
32 | Max: 120 | ||
33 | |||
34 | Metrics/MethodLength: | ||
35 | Max: 30 | ||
16 | 36 | ||
17 | Metrics/ParameterLists: | 37 | Metrics/ParameterLists: |
18 | Max: 10 | 38 | Max: 10 |
39 | |||
40 | Rails: | ||
41 | Enabled: true | ||
42 | |||
43 | Rails/InverseOf: | ||
44 | Enabled: false | ||
45 | |||
46 | Rails/LexicallyScopedActionFilter: | ||
47 | Enabled: false | ||
48 | |||
49 | Rails/SkipsModelValidations: | ||
50 | Enabled: false | ||
51 | |||
52 | Rails/UnknownEnv: | ||
53 | Enabled: false | ||
54 | |||
55 | Style/FormatStringToken: | ||
56 | Enabled: false | ||