feat,chore(formatter): don't exclude TOML and use taplo for it

This commit is contained in:
steveej 2024-12-30 12:42:51 +01:00
parent 6eb9b21842
commit 3237bbad0a
2 changed files with 4 additions and 4 deletions

View file

@ -3,9 +3,7 @@ resolver = "2"
package.version = "0.1.0" package.version = "0.1.0"
metadata.crane.name = "blueprint-universe" metadata.crane.name = "blueprint-universe"
members = [ members = ["rust/*"]
"rust/*",
]
[workspace.dependencies] [workspace.dependencies]
anyhow = "1.0" anyhow = "1.0"

View file

@ -24,6 +24,8 @@ let
shfmt.enable = true; shfmt.enable = true;
taplo.enable = true;
prettier.enable = true; prettier.enable = true;
} // pkgs.lib.optionalAttrs (pkgs.system != "riscv64-linux") { shellcheck.enable = true; }; } // pkgs.lib.optionalAttrs (pkgs.system != "riscv64-linux") { shellcheck.enable = true; };
@ -31,7 +33,7 @@ let
global.excludes = [ global.excludes = [
"LICENSE" "LICENSE"
# unsupported extensions # unsupported extensions
"*.{gif,png,svg,tape,mts,lock,mod,sum,toml,env,envrc,gitignore}" "*.{gif,png,svg,tape,mts,lock,mod,sum,env,envrc,gitignore}"
]; ];
formatter = { formatter = {