From 5066c71549b17042dfdbbf0faae07688c971cdae Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 29 Jan 2025 17:39:09 +0100 Subject: [PATCH] misc/statix: disable the "bool_comparison" lint --- flake/dev/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/flake/dev/default.nix b/flake/dev/default.nix index 9a8543b4..7e782b01 100644 --- a/flake/dev/default.nix +++ b/flake/dev/default.nix @@ -34,7 +34,13 @@ check = true; format = true; }; - statix.enable = true; + statix = { + enable = true; + disabled-lints = [ + # We often use `nullable == true` + "bool_comparison" + ]; + }; stylua.enable = true; shfmt.enable = true; # FIXME: re-enable on darwin, currently broken: taplo with options '[format]' failed to apply: exit status 101