Skip to content

Commit 5066c71

Browse files
committed
misc/statix: disable the "bool_comparison" lint
1 parent d417042 commit 5066c71

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

flake/dev/default.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@
3434
check = true;
3535
format = true;
3636
};
37-
statix.enable = true;
37+
statix = {
38+
enable = true;
39+
disabled-lints = [
40+
# We often use `nullable == true`
41+
"bool_comparison"
42+
];
43+
};
3844
stylua.enable = true;
3945
shfmt.enable = true;
4046
# FIXME: re-enable on darwin, currently broken: taplo with options '[format]' failed to apply: exit status 101

0 commit comments

Comments
 (0)