We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9d4114 commit a1d005aCopy full SHA for a1d005a
1 file changed
Library/.rubocop.yml
@@ -381,6 +381,18 @@ Style/FetchEnvVar:
381
- "/**/Formula/**/*.rb"
382
- "**/Formula/**/*.rb"
383
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
+
396
# Not used for casks and formulae.
397
Style/FrozenStringLiteralComment:
398
EnforcedStyle: always
0 commit comments