Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/data/configs/mdbook.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ in {
packages = [
nixpkgs.alejandra
nixpkgs.nodePackages.prettier
nixpkgs.nodePackages.prettier-plugin-toml
nixpkgs.shfmt
mdbook-paisano-preprocessor
];
Expand Down
4 changes: 1 addition & 3 deletions src/data/configs/treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ in {
packages = [
nixpkgs.alejandra
nixpkgs.nodePackages.prettier
nixpkgs.nodePackages.prettier-plugin-toml
nixpkgs.shfmt
];

Expand All @@ -17,7 +16,7 @@ in {
};
prettier = {
command = lib.getExe nixpkgs.nodePackages.prettier;
options = ["--plugin" "${nixpkgs.nodePackages.prettier-plugin-toml}/lib/node_modules/prettier-plugin-toml/lib/index.js" "--write"];
options = ["--write"];
includes = [
"*.css"
"*.html"
Expand All @@ -29,7 +28,6 @@ in {
"*.scss"
"*.ts"
"*.yaml"
"*.toml"
];
};
shell = {
Expand Down
Loading