forked from biemond/biemond-oradb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
85 lines (65 loc) · 1.7 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Style/Encoding:
Enabled: false
Style/VariableName:
Description: 'Use the configured style when naming variables.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars'
Enabled: false
Style/Documentation:
Description: 'Document classes and non-namespace modules.'
Enabled: false
Style/RedundantSelf:
Description: "Don't use self where it's not needed."
Enabled: false
Style/Blocks:
Description: >-
Avoid using {...} for multi-line blocks (multiline chaining is
always ugly).
Prefer {...} over do...end for single-line blocks.
Enabled: false
Style/UnlessElse:
Description: >-
Never use unless with else. Rewrite these with the positive
case first.
Enabled: false
Style/IfUnlessModifier:
Description: >-
Favor modifier if/unless usage when you have a
single-line body.
Enabled: false
Style/Next:
Description: 'Use `next` to skip iteration instead of a condition at the end.'
Enabled: false
AllCops:
Exclude:
- 'spec/**/*'
- 'pkg/**/*'
- 'coverage/**/*'
- 'files/**/*'
- 'manifests/**/*'
- 'Rakefile'
- 'Gemfile'
- '*.markdown'
- '*.md'
Eval:
Enabled: false
HashSyntax:
EnforcedStyle: hash_rockets
Lambda:
Enabled: false
LineLength:
Enabled: false
AccessorMethodName:
Enabled: false
MethodLength:
Max: 40
Metrics/ParameterLists:
Max: 8
CountKeywordArgs: true
Lint/UnusedMethodArgument:
Description: 'Checks for unused method arguments.'
Enabled: false
Lint/UnusedBlockArgument:
Description: 'Checks for unused block arguments.'
Enabled: false
BlockNesting:
Enabled: false