feat(xatu): report deprecated toPath calls

This commit is contained in:
2026-09-18 23:57:08 -04:00
parent a6fe84190e
commit f8966fe2a8
9 changed files with 173 additions and 8 deletions

View File

@@ -8,6 +8,7 @@ rust_library(
"file_store.rs",
"parser.rs",
"rules.rs",
"rules/deprecated_to_path.rs",
"rules/empty_inherit.rs",
"xatu.rs",
],
@@ -29,6 +30,8 @@ rust_test(
srcs = ["xatu_test.rs"],
data = [
"testdata/clean.nix",
"testdata/deprecated_to_path_ident.nix",
"testdata/deprecated_to_path_select.nix",
"testdata/empty_inherit.nix",
"testdata/invalid.nix",
],