From 69ee1b971ea52c8674f5ad3c963d5183270ef30b Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Mon, 17 Nov 2025 21:52:33 +0000 Subject: [PATCH] refactor(linter/plugins): rename var for consistency (#15813) Pure refactor. Rename var to match elsewhere. --- apps/oxlint/src-js/cli.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/oxlint/src-js/cli.ts b/apps/oxlint/src-js/cli.ts index 0d6dfc638a8fe..6b66686660c4a 100644 --- a/apps/oxlint/src-js/cli.ts +++ b/apps/oxlint/src-js/cli.ts @@ -20,10 +20,10 @@ function lintFileWrapper( bufferId: number, buffer: Uint8Array | null, ruleIds: number[], - stringifiedSettings: string, + settingsJSON: string, ): string { // `lintFile` is never called without `loadPlugin` being called first, so `lintFile` must be defined here - return lintFile(filePath, bufferId, buffer, ruleIds, stringifiedSettings); + return lintFile(filePath, bufferId, buffer, ruleIds, settingsJSON); } // Get command line arguments, skipping first 2 (node binary and script path)