treewide: format all files (#57)

Run `nix fmt` at the root of the repository to format all files. I've
done this on my fork and this will help me merge your changes later
without having to deal with un-formatted files.
This commit is contained in:
Wael Nasreddine 2024-11-26 00:47:49 -08:00 committed by GitHub
parent 70f8b2360f
commit 0f42b0eebb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 369 additions and 164 deletions

View file

@ -2,7 +2,8 @@
lib,
pkgs,
...
}: {
}:
{
config = {
extraConfigLuaPre =
# lua
@ -105,8 +106,8 @@
"black"
"isort"
];
lua = ["stylua"];
nix = ["nixfmt-rfc-style"];
lua = [ "stylua" ];
nix = [ "nixfmt-rfc-style" ];
markdown = [
[
"prettierd"
@ -119,15 +120,15 @@
"prettier"
]
];
terraform = ["terraform_fmt"];
bicep = ["bicep"];
terraform = [ "terraform_fmt" ];
bicep = [ "bicep" ];
bash = [
"shellcheck"
"shellharden"
"shfmt"
];
json = ["jq"];
"_" = ["trim_whitespace"];
json = [ "jq" ];
"_" = [ "trim_whitespace" ];
};
formatters = {