-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
34 lines (29 loc) · 901 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
AllCops:
DisabledByDefault: false
TargetRubyVersion: 2.4
Exclude:
- 'spec/fixtures/**/*'
Metrics/LineLength:
Max: 120
# To make it possible to copy or click on URIs in the code, we allow lines
# containing a URI to be longer than Max.
AllowHeredoc: true
AllowURI: true
URISchemes:
- http
- https
# The IgnoreCopDirectives option causes the LineLength rule to ignore cop
# directives like '# rubocop: enable ...' when calculating a line's length.
IgnoreCopDirectives: false
# The IgnoredPatterns option is a list of !ruby/regexp and/or string
# elements. Strings will be converted to Regexp objects. A line that matches
# any regular expression listed in this option will be ignored by LineLength.
IgnoredPatterns: []
Metrics/BlockLength:
Enabled: false
Style/AsciiComments:
Enabled: false
Metrics/MethodLength:
Max: 25
Metrics/AbcSize:
Max: 20