Skip to content

Commit a1d005a

Browse files
committed
rubocop.yml: loosen for taps.
1 parent f9d4114 commit a1d005a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Library/.rubocop.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,18 @@ Style/FetchEnvVar:
381381
- "/**/Formula/**/*.rb"
382382
- "**/Formula/**/*.rb"
383383

384+
# Doesn't make sense for formulae with e.g. requirements.
385+
Style/OneClassPerFile:
386+
Exclude:
387+
- "**/*.rbi"
388+
- "Taps/*/*/*.rb"
389+
- "/**/Abstract/**/*.rb"
390+
- "**/Abstract/**/*.rb"
391+
- "/**/Formula/**/*.rb"
392+
- "**/Formula/**/*.rb"
393+
- "/**/developer/bin/*.rb"
394+
- "**/developer/bin/*.rb"
395+
384396
# Not used for casks and formulae.
385397
Style/FrozenStringLiteralComment:
386398
EnforcedStyle: always

0 commit comments

Comments
 (0)