-
Notifications
You must be signed in to change notification settings - Fork 196
/
.rubocop.yml
70 lines (60 loc) · 1.5 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
AllCops:
Include:
- "**/*.gemspec"
- "**/*.podspec"
- "**/*.jbuilder"
- "**/*.rake"
- "**/*.opal"
- "**/Gemfile"
- "**/Rakefile"
- "**/Capfile"
- "**/Guardfile"
- "**/Podfile"
- "**/Thorfile"
- "**/Vagrantfile"
- "**/Berksfile"
- "**/Cheffile"
- "**/Vagabondfile"
Exclude:
- "vendor/**/*"
- "db/schema.rb"
RunRailsCops: false
DisplayCopNames: false
StyleGuideCopsOnly: false
Style/AccessModifierIndentation:
Description: Check indentation of private/protected visibility modifiers.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected
Enabled: true
EnforcedStyle: indent
SupportedStyles:
- outdent
- indent
# Metrics/LineLength:
# Description: Limit lines to 80 characters.
# StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
# Enabled: false
# Max: 80
# AllowURI: true
# URISchemes:
# - http
# - https
# Style/GlobalVars:
# Description: Do not introduce global variables.
# StyleGuide: https://github.com/bbatsov/ruby-style-guide#instance-vars
# Enabled: false
# AllowedVariables: []
# ^ From hound
Style/Documentation:
Enabled: false
UselessAssignment:
Enabled: false
UnusedMethodArgument:
Enabled: false
UnderscorePrefixedVariableName:
Enabled: false
UnusedBlockArgument:
Enabled: false
Lint/UselessAssignment:
Description: Checks for useless assignment to a local variable.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
Enabled: false