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:
parent
70f8b2360f
commit
0f42b0eebb
21 changed files with 369 additions and 164 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue