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