Lint check Berksfile with Foodcritic?

I’m trying to come up with a way to verify only Private Supermarkets are listed within a Berksfile. Can Foodcritic lint check a Berksfile?

I already responded to you on StackOverflow, the answer is the same. Write a RuboCop plugin instead, it will be a lot easier.

Sorry for the cross-post. I wasn’t sure which forum was more appropriate. I’ll look into writing a custom RuboCop plugin. I appreciate the guidance.