numtide / treefmt-nix

treefmt nix configuration
https://numtide.github.io/treefmt/
MIT License
247 stars 75 forks source link

settings.excludes does not reflect as global.excludes as such does not apply #42

Closed huwaireb closed 1 year ago

huwaireb commented 1 year ago

https://github.com/numtide/treefmt-nix/blob/main/module-options.nix#LL19C2-L19C2

two options

  1. change configSchema.excludes to configSchema.global.excludes which works
  2. map settings.excludes somehow to appear as global.excludes in the config toml