-
Notifications
You must be signed in to change notification settings - Fork 0
/
core.yml
77 lines (60 loc) · 1.38 KB
/
core.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
# See documentation for details on definitions:
# https://rubocop.readthedocs.io
inherit_mode:
merge:
- AllowedNames
- Exclude
require:
- standard
- standard-custom
- rubocop-performance
- rubocop-vendor
inherit_gem:
standard: config/base.yml
standard-performance: config/base.yml
standard-custom: config/base.yml
AllCops:
NewCops: disable
DisabledByDefault: true
SuggestExtensions: false
TargetRubyVersion: 3.2
Exclude:
- "bin/**/*"
- "data/**/*"
- "db/data/**/*"
- "db/*migrate/**/*"
- "db/schema.rb"
- "gemfiles/**/*"
- "log/**/*"
- "node_modules/**/*"
- "public/**/*"
- "tmp/**/*"
- "vendor/**/*"
# standardrb overrides
Layout/DotPosition:
EnforcedStyle: trailing
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: space
Layout/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
Style/EmptyMethod:
Enabled: false
Style/SingleLineMethods:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/StringLiteralsInInterpolation:
Enabled: false
Style/BlockDelimiters:
EnforcedStyle: semantic
Style/RescueStandardError:
EnforcedStyle: explicit
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
# enable rubocop-vendor
Vendor:
Enabled: true