forked from zhandao/zero-rails_openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
91 lines (62 loc) · 1.35 KB
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# This is the configuration used to check the rubocop source code.
#require: rbocop/cop/internal_affairs
AllCops:
# Include common Ruby source files.
Exclude:
- 'spec/**/*'
- 'zero-params_processor.gemspec'
- 'Gemfile'
- 'bin/**/*'
DisplayCopNames: true
TargetRubyVersion: 2.4
TargetRailsVersion: 5.1
Style/FrozenStringLiteralComment:
Enabled: false
Metrics/LineLength:
Max: 1200
Metrics/ClassLength:
Max: 1200
Metrics/MethodLength:
Max: 1200
Metrics/ModuleLength:
Max: 1200
Metrics/BlockLength:
Max: 1200
Style/Documentation:
Enabled: false
Layout/SpaceInsideBrackets:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
Enabled: false
Layout/SpaceInsidePercentLiteralDelimiters:
Enabled: false
Style/AsciiComments:
Enabled: false
Layout/IndentHash:
Enabled: false
Layout/AlignHash:
Enabled: false
Style/HashSyntax:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Layout/EmptyLines:
Enabled: false
Lint/UnneededSplatExpansion:
Enabled: false
#Style/StringLiterals:
# Enabled: true
# EnforcedStyle: double_quotes
Style/UnneededPercentQ:
Enabled: false
Style/RedundantSelf:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
# False positives
Layout/EmptyLineBetweenDefs:
Enabled: false