Skip to content

Commit 6714ba8

Browse files
Copilotblaggacao
andcommitted
Remove prettier-plugin-toml dependency to fix minimal template
Co-authored-by: blaggacao <[email protected]>
1 parent 3e42c4a commit 6714ba8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/data/configs/mdbook.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ in {
66
packages = [
77
nixpkgs.alejandra
88
nixpkgs.nodePackages.prettier
9-
nixpkgs.nodePackages.prettier-plugin-toml
109
nixpkgs.shfmt
1110
mdbook-paisano-preprocessor
1211
];

src/data/configs/treefmt.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ in {
55
packages = [
66
nixpkgs.alejandra
77
nixpkgs.nodePackages.prettier
8-
nixpkgs.nodePackages.prettier-plugin-toml
98
nixpkgs.shfmt
109
];
1110

@@ -17,7 +16,7 @@ in {
1716
};
1817
prettier = {
1918
command = lib.getExe nixpkgs.nodePackages.prettier;
20-
options = ["--plugin" "${nixpkgs.nodePackages.prettier-plugin-toml}/lib/node_modules/prettier-plugin-toml/lib/index.js" "--write"];
19+
options = ["--write"];
2120
includes = [
2221
"*.css"
2322
"*.html"
@@ -29,7 +28,6 @@ in {
2928
"*.scss"
3029
"*.ts"
3130
"*.yaml"
32-
"*.toml"
3331
];
3432
};
3533
shell = {

0 commit comments

Comments
 (0)