Skip to content

Commit

Permalink
Merge pull request #57 from a-kenji/update/formatter
Browse files Browse the repository at this point in the history
chore: update formatter
  • Loading branch information
a-kenji authored Jul 20, 2024
2 parents dbdf8ce + cc68888 commit 545b9a9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 19 deletions.
12 changes: 0 additions & 12 deletions .treefmt.toml

This file was deleted.

7 changes: 3 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
rust-overlay.url = "github:oxalica/rust-overlay";
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
crane.url = "github:ipetkov/crane?ref=v0.16.0";
crane.url = "github:ipetkov/crane";
crane.inputs.nixpkgs.follows = "nixpkgs";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
Expand Down
4 changes: 2 additions & 2 deletions nix/formatter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

perSystem = _: {
treefmt = {
projectRootFile = "flake.lock";
programs.nixfmt-rfc-style.enable = true;
projectRootFile = ".git/config";
programs.nixfmt.enable = true;
programs.rustfmt.enable = true;
programs.taplo.enable = true;
};
Expand Down

0 comments on commit 545b9a9

Please sign in to comment.