Skip to content

Commit

Permalink
add clippy and format pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ss2165 committed Jun 23, 2023
1 parent dffc478 commit 75a316a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ proptest-regressions/
.devenv*
devenv.local.nix

# managed by devenv
.pre-commit-config.yaml
3 changes: 2 additions & 1 deletion devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
# languages.rust.enable = true;

# https://devenv.sh/pre-commit-hooks/
# pre-commit.hooks.shellcheck.enable = true;
pre-commit.hooks.clippy.enable = true;
pre-commit.hooks.rustfmt.enable = true;

# https://devenv.sh/processes/
# processes.ping.exec = "ping example.com";
Expand Down

0 comments on commit 75a316a

Please sign in to comment.