Closed quinn-dougherty closed 1 month ago
try treefmt.config.settings.global.excludes = [ "dir1" "dir2" ]
assuming it's fixed
Works for me but for anyone else searching: folder/**
is the required format (at least for me excluding a submodule recursive) - also the option appears to be called excludes
not exclude
and for me it does not throw an error just ignores the (invalid?) option ✌🏻
Is your feature request related to a problem? Please describe.
I'm working with git submodules, and they currently feel incompatible with
treefmt-nix
.Describe the solution you'd like
treefmt.config.settings.exclude = [ "dir1" "dir2" ]
Describe alternatives you've considered
this did not work.