From 8ec7cb7794cee4a792fa12df20137cb5faabb716 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 20 Apr 2026 10:06:26 +0200 Subject: [PATCH] chore: add notes about `fmt` and `statix` --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 27eb9ef..d9283e4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -49,6 +49,11 @@ Based on the CLAUDE.md file being added, the project follows these practices: - Organized file/directory naming (kebab-case for files, camelCase for options) - Documented code and conventional commit format +### Linting and Formatting + +- Run `nix run nixpkgs#statix check` to lint Nix code (analogous to `cargo clippy` in Rust projects). +- Run `nix fmt` to format Nix code (analogous to `cargo fmt` in Rust projects). + ### Usage The project provides commands for: