-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.rubocop.yml
More file actions
86 lines (81 loc) · 1.79 KB
/
Copy path.rubocop.yml
File metadata and controls
86 lines (81 loc) · 1.79 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
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
86
inherit_from: .rubocop_todo.yml
inherit_gem:
rubocop-rubyfmt:
- config/full.yml
inherit_mode:
merge:
- Exclude
plugins:
- "rubocop-rubyfmt"
- "sevgi-appendix"
- "rubocop-md"
- "rubocop-packaging"
- "rubocop-rake"
Metrics/AbcSize:
Exclude:
- "**/test/**/*.rb"
- "**/*.sevgi"
Metrics/BlockLength:
Exclude:
- "**/test/**/*.rb"
- "**/*.gemspec"
- "**/*.sevgi"
Metrics/ClassLength:
Exclude:
- "**/test/**/*.rb"
- "**/*.sevgi"
Metrics/MethodLength:
Exclude:
- "**/test/**/*.rb"
- "**/*.sevgi"
# Conventional Rake and hyphenated gem entrypoints cannot use snake_case filenames.
Naming/FileName:
Exclude:
- "Rakefile"
- "appendix/lib/sevgi-appendix.rb"
Naming/MethodName:
Enabled: false
Naming/MethodParameterName:
Enabled: false
Naming/BlockForwarding:
Enabled: false
Style/AsciiComments:
Enabled: false
Style/ClassMethodsDefinitions:
EnforcedStyle: def_self
Enabled: true
Style/ArgumentsForwarding:
Enabled: false
Style/EmptyClassDefinition:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/LambdaCall:
Enabled: false
Style/MethodCallWithoutArgsParentheses:
Enabled: false
Style/ModuleFunction:
Enabled: false
Style/OptionalBooleanParameter:
Enabled: false
Style/ParallelAssignment:
Enabled: false
# rubocop-md combines the independent alternatives in this reference.
Style/CombinableLoops:
Exclude:
- "appendix/agents/skills/sevgi/references/drawing.md"
# Root build and release collaborators must remain in the Rakefile; top-level source directories are component gems.
Style/OneClassPerFile:
Exclude:
- "Rakefile"
AllCops:
NewCops: enable
SuggestExtensions: false
Include:
- "**/*.rb"
- "**/*.sevgi"
Exclude:
- "vendor/**/*"
- "_/**/*"
- "**/_/**/*"
- "RUBYFMT_NOTES.md"