Skip to content

Commit

Permalink
chore: cleanup tree fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hartung <[email protected]>
  • Loading branch information
florianhartung committed Aug 16, 2024
1 parent 4d6dff4 commit 99d3866
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 21 deletions.
1 change: 0 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ This pull request still needs...
- [ ] Ran `cargo build`
- [ ] Ran `cargo doc`
- [ ] Ran `nix fmt`
- [ ] Ran `treefmt`

### Github Issue

Expand Down
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,17 @@ libm = "0.2.8"
log = "=0.4.22"

[dev-dependencies]
test-log = {version = "0.2.14", features = ["log"]}
test-log = { version = "0.2.14", features = ["log"] }
env_logger = "0.10.1"
wasmparser = "0.119.0"
itertools = "0.12.0"
wat = "1.0.83"
criterion = { version = "0.5.1", features = ["html_reports"] }


[features]
default = ["hooks"]
hooks = []


[[bench]]
name = "hook_performance_impact"
harness = false
14 changes: 14 additions & 0 deletions treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,26 @@
{
# Used to find the project root
projectRootFile = "flake.nix";
programs.nixpkgs-fmt.enable = true;
programs.prettier = {
enable = true;
includes = [
"*.css"
"*.html"
"*.js"
"*.json"
"*.json5"
"*.md"
"*.mdx"
"*.toml"
"*.yaml"
"*.yml"
];
settings = {
plugins = [
"${pkgs.nodePackages.prettier-plugin-toml}/lib/node_modules/prettier-plugin-toml/lib/index.js"
];
};
};
programs.rustfmt.enable = true;
}
17 changes: 0 additions & 17 deletions treefmt.toml

This file was deleted.

0 comments on commit 99d3866

Please sign in to comment.