Skip to content

Commit 69ee1b9

Browse files
committed
refactor(linter/plugins): rename var for consistency (#15813)
Pure refactor. Rename var to match elsewhere.
1 parent 28ffcef commit 69ee1b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/oxlint/src-js/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ function lintFileWrapper(
2020
bufferId: number,
2121
buffer: Uint8Array | null,
2222
ruleIds: number[],
23-
stringifiedSettings: string,
23+
settingsJSON: string,
2424
): string {
2525
// `lintFile` is never called without `loadPlugin` being called first, so `lintFile` must be defined here
26-
return lintFile(filePath, bufferId, buffer, ruleIds, stringifiedSettings);
26+
return lintFile(filePath, bufferId, buffer, ruleIds, settingsJSON);
2727
}
2828

2929
// Get command line arguments, skipping first 2 (node binary and script path)

0 commit comments

Comments
 (0)