aboutsummaryrefslogtreecommitdiffhomepage
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorMarkus Doits <markus.doits@stellenticket.de>2018-03-30 19:20:57 +0200
committerMarkus Doits <markus.doits@stellenticket.de>2018-03-30 19:21:22 +0200
commit0ab4d181c9d2e1ad9e3d4028223f947599781351 (patch)
tree67e9d93bcd40527750faa788fa14946d24be5a2e /.rubocop.yml
parent4a987577795e16e2d477207b8edb124b0716ce1c (diff)
downloadpronto-hlint-0ab4d181c9d2e1ad9e3d4028223f947599781351.tar.gz
pronto-hlint-0ab4d181c9d2e1ad9e3d4028223f947599781351.tar.zst
pronto-hlint-0ab4d181c9d2e1ad9e3d4028223f947599781351.zip
update locally used ruby versiob, lint everything
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