Skip to content

Commit

Permalink
fix: Disable Lint/Debugger for samples (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma committed Feb 9, 2023
1 parent 6d62408 commit 554c1cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions google-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ Lint/AmbiguousRange:
Lint/ConstantOverwrittenInRescue:
Enabled: true

# Samples often use Kernel#p which Lint/Debugger doesn't like.
Lint/Debugger:
Exclude:
- "samples/**/*.rb"
- "snippets/**/*.rb"

# Added in Rubocop 1.8
Lint/DeprecatedConstants:
Enabled: true
Expand Down

0 comments on commit 554c1cc

Please sign in to comment.