Skip to content

Commit

Permalink
chore: add shellcheck to treefmt config
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGee <[email protected]>
  • Loading branch information
brianmcgee authored and mergify[bot] committed Nov 5, 2024
1 parent 742975e commit a43dbbe
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions nix/formatter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@
inputs.treefmt-nix.lib.mkWrapper pkgs {
projectRootFile = ".git/config";

programs = {
alejandra.enable = true;
deadnix.enable = true;
gofumpt.enable = true;
prettier.enable = true;
statix.enable = true;
};
programs =
{
alejandra.enable = true;
deadnix.enable = true;
gofumpt.enable = true;
prettier.enable = true;
statix.enable = true;
}
// pkgs.lib.optionalAttrs (pkgs.system != "riscv64-linux") {
shellcheck.enable = true;
};

settings = {
global.excludes = [
Expand Down

0 comments on commit a43dbbe

Please sign in to comment.