Skip to content

Commit

Permalink
[no ci] update .rubocopy.yml file for tap
Browse files Browse the repository at this point in the history
  • Loading branch information
ipatch committed Dec 19, 2024
1 parent 0e3bdef commit 4c7284d
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,49 @@
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"
Expand Down

0 comments on commit 4c7284d

Please sign in to comment.