nixos: add `statix`
This commit is contained in:
parent
5abefe2570
commit
8d9f8b261e
|
@ -176,10 +176,12 @@
|
|||
runtimeInputs = with pkgs.${system}; [
|
||||
alejandra
|
||||
shfmt
|
||||
statix
|
||||
];
|
||||
text = ''
|
||||
shfmt -w -s -i 2 -ci ${fmtTargetsStr};
|
||||
alejandra --quiet .
|
||||
statix check .
|
||||
'';
|
||||
};
|
||||
in "${script}/bin/format";
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
disabled = [
|
||||
"repeated_keys"
|
||||
]
|
||||
nix_version = '2.4'
|
||||
ignore = ['.direnv']
|
||||
|
Loading…
Reference in New Issue