fix: tweaking treefmt
This commit is contained in:
parent
b162fa36de
commit
482b8abfa7
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
inputs @ { pkgs, dotnet, rust, ... }:
|
inputs @ { pkgs, dotnet, rust, ... }:
|
||||||
let
|
let
|
||||||
data = {
|
data = {
|
||||||
|
allow-missing-formatter = true;
|
||||||
|
on-unmatched = "debug";
|
||||||
|
|
||||||
formatter = {
|
formatter = {
|
||||||
nix = {
|
nix = {
|
||||||
command = "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt";
|
command = "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt";
|
||||||
|
@ -9,7 +12,7 @@ let
|
||||||
|
|
||||||
prettier = {
|
prettier = {
|
||||||
command = "${pkgs.nodePackages.prettier}/bin/prettier";
|
command = "${pkgs.nodePackages.prettier}/bin/prettier";
|
||||||
options = [ "--write" "--log-level" "error" ];
|
options = [ "--write" ];
|
||||||
includes = [
|
includes = [
|
||||||
"*.css"
|
"*.css"
|
||||||
"*.html"
|
"*.html"
|
||||||
|
|
Loading…
Reference in a new issue