-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.rubocop.yml
More file actions
54 lines (43 loc) · 1.16 KB
/
.rubocop.yml
File metadata and controls
54 lines (43 loc) · 1.16 KB
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
AllCops:
DisplayCopNames: true
Exclude:
- "myfinance.gemspec"
- "Gemfile"
Metrics/LineLength:
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#80-character-limits"
Max: 120
Metrics/BlockLength:
Enabled: false
Exclude:
- "**/*_spec.rb"
Metrics/ModuleLength:
Exclude:
- "**/*_spec.rb"
Style/Alias:
EnforcedStyle: "prefer_alias_method"
Style/AsciiComments:
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#english-comments"
Enabled: false
Style/Documentation:
Enabled: false
Style/DotPosition:
EnforcedStyle: trailing
Style/FrozenStringLiteralComment:
Enabled: false
Style/ParallelAssignment:
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#parallel-assignment"
Enabled: false
Style/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: space
Style/StringLiterals:
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#consistent-string-literals"
EnforcedStyle: double_quotes
Style/PercentLiteralDelimiters:
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#percent-literal-braces"
PreferredDelimiters:
default: ()
'%i': '[]'
'%I': '[]'
'%r': '{}'
'%w': '[]'
'%W': '[]'