mirror of
https://github.com/EdenQwQ/nixos.git
synced 2025-12-26 18:34:56 +08:00
treefmt: use toml-sort, add global excludes
This commit is contained in:
parent
90b3172f36
commit
03adcc38d4
2 changed files with 2 additions and 1192 deletions
|
|
@ -23,6 +23,8 @@
|
|||
programs.black.enable = true;
|
||||
programs.prettier.enable = true;
|
||||
programs.beautysh.enable = true;
|
||||
programs.toml-sort.enable = true;
|
||||
settings.global.excludes = [ "*.age" ];
|
||||
settings.formatter = {
|
||||
jsonc = {
|
||||
command = "${pkgs.nodePackages.prettier}/bin/prettier";
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue