forked from activescaffold/active_scaffold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
50 lines (37 loc) · 837 Bytes
/
.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
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.3
Include:
- 'gemfiles/Gemfile*'
Exclude:
- 'gemfiles/Gemfile*.lock'
- 'bin/*'
- 'lib/generators/**/templates/**/*'
- 'vendor/bundle/**/*'
Style/FrozenStringLiteralComment:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Lint/UnusedMethodArgument:
Enabled: false
Metrics/ClassLength:
Max: 500
CountComments: false
Metrics/ModuleLength:
Max: 600
CountComments: false
Performance/RedundantMerge:
MaxKeyValuePairs: 1
Rails:
Enabled: true
Style/BracesAroundHashParameters:
EnforcedStyle: context_dependent
Style/HashSyntax:
Enabled: false
Style/SignalException:
EnforcedStyle: only_raise
Style/SingleLineBlockParams:
Enabled: false
Style/SingleLineMethods:
Exclude:
- 'test/**/*'