diff --git a/flake.nix b/flake.nix index 779acfc..fa21684 100644 --- a/flake.nix +++ b/flake.nix @@ -246,6 +246,7 @@ rustToolchain pkgs.gnuplot pkgs.teleport_13 + pkgs.taplo (pkgs.writeShellScriptBin "ci" ''nix/ci.sh "$@"'') ] ++ hostDeps ++ extraHostDeps; } // env // extraEnv); diff --git a/taplo.toml b/taplo.toml new file mode 100644 index 0000000..d2aad4c --- /dev/null +++ b/taplo.toml @@ -0,0 +1,14 @@ +exclude = ["**/target/**/*", ".direnv/**/*"] + +[formatting] +align_comments = false +column_width = 88 +indent_string = " " +reoder_arrays = true +reorder_keys = true +trailing_newline = true + +[[rule]] +keys = ["package"] +[rule.formatting] +reorder_keys = false