From 22663c3fe7c7009a538dc5dcd0f10f2293c5a551 Mon Sep 17 00:00:00 2001 From: Matt Bierner <12821956+mjbvz@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:39:44 -0800 Subject: [PATCH] Small cleanup --- .eslint-plugin-local/code-layering.ts | 3 ++- .eslint-plugin-local/package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslint-plugin-local/code-layering.ts b/.eslint-plugin-local/code-layering.ts index 10872ae4b4e..ac77eb97cf0 100644 --- a/.eslint-plugin-local/code-layering.ts +++ b/.eslint-plugin-local/code-layering.ts @@ -38,7 +38,8 @@ export default new class implements eslint.Rule.RuleModule { const fileDirname = dirname(context.getFilename()); const parts = fileDirname.split(/\\|\//); - const ruleArgs = context.options[0] as Record; let config: Config | undefined; + const ruleArgs = context.options[0] as Record; + let config: Config | undefined; for (let i = parts.length - 1; i >= 0; i--) { if (ruleArgs[parts[i]]) { config = { diff --git a/.eslint-plugin-local/package.json b/.eslint-plugin-local/package.json index 7c3579a1f79..90e7facf0a0 100644 --- a/.eslint-plugin-local/package.json +++ b/.eslint-plugin-local/package.json @@ -1,4 +1,5 @@ { + "private": true, "type": "module", "scripts": { "typecheck": "tsgo -p tsconfig.json --noEmit"