feat(natu): detect single-use let bindings

This commit was merged in pull request #116.
This commit is contained in:
2026-09-30 10:43:05 -04:00
parent 2265dfc558
commit 78492739f3
7 changed files with 153 additions and 16 deletions

View File

@@ -1,9 +1,9 @@
let
second = first;
second = first; # NOLINT(single_use_binding)
first = 1;
nested = let
nestedFirst = first;
nestedSecond = nestedFirst;
nested = let # NOLINT(single_use_binding)
nestedFirst = first; # NOLINT(single_use_binding)
nestedSecond = nestedFirst; # NOLINT(single_use_binding)
in {
result = nestedSecond;
};