-
Notifications
You must be signed in to change notification settings - Fork 34
/
.rubocop.yml
58 lines (57 loc) · 1.33 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
---
AllCops:
TargetRubyVersion: 3.3
NewCops: enable
Metrics:
Enabled: false
Naming/HeredocDelimiterNaming:
ForbiddenDelimiters:
- END, EOD, EOF
Naming/FileName:
Regex: !ruby/regexp /^[\w\@\-\+\.]+(\.rb)?$/
Layout/EndAlignment:
EnforcedStyleAlignWith: start_of_line
Layout/LineLength:
Max: 118
AllowedPatterns:
# - "#: "
# - ' url "'
# - ' mirror "'
# - " plist_options "
# - ' executable: "'
# - ' font "'
# - ' homepage "'
# - ' name "'
# - ' pkg "'
# - ' pkgutil: "'
# - " sha256 cellar: "
# - " sha256 "
# - "#{language}"
# - "#{version."
# - ' "/Library/Application Support/'
# - "\"/Library/Caches/"
# - "\"/Library/PreferencePanes/"
# - ' "~/Library/Application Support/'
# - "\"~/Library/Caches/"
# - "\"~/Library/Containers"
# - "\"~/Application Support"
# - " was verified as official when first introduced to the cask"
Layout/SpaceAroundOperators:
Enabled: false
Style/Documentation:
Exclude:
- "**/{Formula,Casks}/**/*.rb"
Style/FrozenStringLiteralComment:
EnforcedStyle: always
Exclude:
- "**/{Formula,Casks}/**/*.rb"
Style/StringConcatenation:
Exclude:
- "**/{Formula,Casks}/**/*.rb"
Style/FetchEnvVar:
Exclude:
- "**/Formula/**/*.rb"
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes