Configuring silenced directories for BacktraceCleaner

Hello everyone,

I’m currently using Packwerk to create some modules for my app in a components directory. One problem I am facing is that Rails is silencing this directory in my backtraces, which I found is coming from this allow list in the default silencers.

I understand I can configure the cleaner by removing the silencers and then adding them back however this is not ideal since I’d need reconstruct the useful ones that Rails already provides such as standard lib and gem silencers.

I would ideally like to be able to configure the directory allow list so I can add components while keeping the remaining behaviour the same.

Is there some merit to this or am I going down a dark path of fighting Rails :grin: