diff --git a/.gitignore b/.gitignore index 1dedbeeab..a41fdf909 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ proptest-regressions/ .devenv* devenv.local.nix +# managed by devenv +.pre-commit-config.yaml \ No newline at end of file diff --git a/devenv.nix b/devenv.nix index b41219cf2..a046638ae 100644 --- a/devenv.nix +++ b/devenv.nix @@ -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";