Lints and suggestions for the Nix programming language
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #111 from molybdenumsoftware/dogfood-via-treefmt

chore: dogfood via treefmt

authored by

Shahar "Dawn" Or and committed by
GitHub
bb7b8fd8 3f05e653

+10 -2
+10 -2
flake-parts/fmt.nix
··· 3 3 partitions.dev.module = devPartition: { 4 4 imports = [ devPartition.inputs.treefmt.flakeModule ]; 5 5 6 - perSystem = { 6 + perSystem = psArgs: { 7 7 pre-commit.settings.hooks.treefmt.enable = true; 8 8 9 9 treefmt = { 10 10 projectRootFile = "flake.nix"; 11 11 programs = { 12 - nixfmt.enable = true; 12 + nixfmt = { 13 + enable = true; 14 + priority = 2; 15 + }; 13 16 prettier.enable = true; 14 17 # https://github.com/pappasam/toml-sort/issues/62 15 18 # toml-sort = { 16 19 # enable = true; 17 20 # all = true; 18 21 # }; 22 + statix = { 23 + enable = true; 24 + priority = 1; 25 + package = psArgs.config.packages.statix; 26 + }; 19 27 }; 20 28 settings.on-unmatched = "fatal"; 21 29 };