refactor(natu): remove single-use binding rule
This commit was merged in pull request #123.
This commit is contained in:
8
src/natu/testdata/lint_findings.nix
vendored
8
src/natu/testdata/lint_findings.nix
vendored
@@ -1,9 +1,9 @@
|
||||
let
|
||||
second = first; # NOLINT(single_use_binding)
|
||||
second = first;
|
||||
first = 1;
|
||||
nested = let # NOLINT(single_use_binding)
|
||||
nestedFirst = first; # NOLINT(single_use_binding)
|
||||
nestedSecond = nestedFirst; # NOLINT(single_use_binding)
|
||||
nested = let
|
||||
nestedFirst = first;
|
||||
nestedSecond = nestedFirst;
|
||||
in {
|
||||
result = nestedSecond;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user