-
Notifications
You must be signed in to change notification settings - Fork 226
Description
In sorbetland, there are both auto generated rbi files (through something like tapioca) and manually written "shims" for 3rd party gems. The autogenerated ones I have excluded from Standard because they're huge and slow to parse (can add 3+ seconds, easily). However, for the human-written rbi shim files, I would like to run those through Standard. Up until now I've just excluded all rbi files.
Standard does work on them, if you manually pass in the path like standardrb --fix sorbet/rbi/shims/*.rbi but I can't figure out how to get this directory included to just run all the time whenever you run without any arguments.
I thought maybe excluding all of the rbi directories except shims would work, but it doesn't seem to.
I tried adding some of the AllCops: Include: setting in an extend_config for that one directory from https://docs.rubocop.org/rubocop/configuration.html#unusual-files-that-would-not-be-included-by-default , but haven't had much luck with that either.
Is there anything easy I can do on my end to add rbi files in that one directory?