-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
47 lines (35 loc) · 984 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
require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec
AllCops:
Exclude:
- bin/bundle
- bin/rake
- bin/rspec
- bin/rubocop
- vendor/**/* # fix for CI
TargetRubyVersion: 2.5
NewCops: enable
#################### Layout ##############################
Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation
Layout/LineEndStringConcatenationIndentation:
EnforcedStyle: indented
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
#################### Metrics ##############################
Metrics/ModuleLength:
Exclude:
- lib/auxiliary_rails/concerns/resourceable.rb
#################### Style ###############################
Style/FrozenStringLiteralComment:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/EmptyMethod:
EnforcedStyle: expanded
Style/Documentation:
Exclude:
- lib/auxiliary_rails/view_helpers/human_name_helper.rb
- lib/auxiliary_rails_resourceable/railtie.rb