From b4eecf0111d1f0b1224fdf5c42b98d36bcfbcd23 Mon Sep 17 00:00:00 2001 From: Nicolas Bonet Date: Wed, 22 Jul 2026 10:02:52 -0500 Subject: [PATCH] Remove unused eslint-disable for no-negated-variables eslint-config-expensify 4.0.7 added 'notation' to the rule's exception list, so buildDotNotationPath is no longer flagged and the directive became an unused-directive lint error on main. Co-Authored-By: Claude Fable 5 --- scripts/utils/TSCompilerUtils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/utils/TSCompilerUtils.ts b/scripts/utils/TSCompilerUtils.ts index 6c2431608da5..0f1b095ad1c4 100644 --- a/scripts/utils/TSCompilerUtils.ts +++ b/scripts/utils/TSCompilerUtils.ts @@ -258,7 +258,6 @@ function extractKeyFromPropertyNode(node: ts.PropertyAssignment | ts.MethodDecla * Build a dot-notation path from a node by traversing up the AST to find property assignments. * Useful for building paths like "common.save" from a string literal node. */ -// eslint-disable-next-line rulesdir/no-negated-variables function buildDotNotationPath(node: ts.Node, rootNode?: ts.Node): string | null { const pathParts: string[] = []; let current: ts.Node | undefined = node;