This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.rubocop.yml
77 lines (54 loc) · 1.55 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
AllCops:
NewCops: enable
TargetRubyVersion: 3.0
Exclude:
- examples/**/*.rb
Layout:
Enabled: false
Metrics:
Enabled: false
Style/TrailingCommaInHashLiteral: # Disabled for rufo
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArrayLiteral: # Disabled for rufo
EnforcedStyleForMultiline: consistent_comma
Style/StringLiterals: # Disabled for rufo
Enabled: true
EnforcedStyle: double_quotes
Style/TrailingCommaInArguments: # Disabled for rufo
Enabled: false
Style/StringLiteralsInInterpolation: # Disabled for rufo
Enabled: false
Style/StringConcatenation: # + looks better
Enabled: false
Lint/MissingSuper: # For abstract classes
Enabled: false
Lint/AssignmentInCondition: # Looks bad
Enabled: false
Style/PerlBackrefs: # It will be longer
Enabled: false
Style/RedundantSelf: # Looks local variable
Enabled: false
Naming/VariableNumber: # Discord API docs naming
Enabled: false
Style/ParallelAssignment: # It will be longer
Enabled: false
Style/RedundantInterpolation: # For make it extendable
Enabled: false
Style/Next: # For make it extendable
Enabled: false
Lint/ShadowedException: # False positive
Enabled: false
Lint/AmbiguousOperatorPrecedence: # Not needed
Enabled: false
Style/GlobalVars: # For /exe
Enabled: false
Lint/Debugger: # For /exe
Enabled: false
Style/GuardClause: # For make it extendable
Enabled: false
Layout/EndOfLine: # For git
EnforcedStyle: lf
Lint/ScriptPermission: # For GitHub Actions
Enabled: false
Style/Documentation: # For editor
Enabled: false