Skip to content

Commit

Permalink
rubocop: exclude more tap files from the top-level method cop
Browse files Browse the repository at this point in the history
Basically, this started failing for me on my personal tap because
there are some methods defined at the top-level in my Rakefile.
That seems acceptable to me and since we're already ignoring all
other Ruby files in the tap I figured we might as well just ignore
all of them.
  • Loading branch information
apainintheneck committed Feb 3, 2024
1 parent 377dbfc commit c5fa0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ Style/TernaryParentheses:
Style/TopLevelMethodDefinition:
Enabled: true
Exclude:
- "Taps/**/*.rb"
- "Taps/**/*"

# Trailing commas make diffs nicer.
Style/TrailingCommaInArguments:
Expand Down

0 comments on commit c5fa0f0

Please sign in to comment.