From ace6f245fee93ef9e6cd4fdd649aa29b4911104d Mon Sep 17 00:00:00 2001 From: Zamiell <5511220+Zamiell@users.noreply.github.com> Date: Sun, 10 Aug 2025 11:45:39 -0400 Subject: [PATCH 1/3] fix: grammar --- packages/utils/src/ts-eslint/Rule.ts | 2 +- packages/utils/src/ts-eslint/eslint/FlatESLint.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/utils/src/ts-eslint/Rule.ts b/packages/utils/src/ts-eslint/Rule.ts index 3b40254b0a6e..fdf46cf9538b 100644 --- a/packages/utils/src/ts-eslint/Rule.ts +++ b/packages/utils/src/ts-eslint/Rule.ts @@ -133,7 +133,7 @@ export interface RuleMetaData< /** * Specifies default options for the rule. If present, any user-provided options in their config will be merged on top of them recursively. * This merging will be applied directly to `context.options`. - * If you want backwards-compatible support for earlier ESLint version; consider using the top-level `defaultOptions` instead. + * If you want backwards-compatible support for earlier ESLint version, consider using the top-level `defaultOptions` instead. * * since ESLint 9.15.0 */ diff --git a/packages/utils/src/ts-eslint/eslint/FlatESLint.ts b/packages/utils/src/ts-eslint/eslint/FlatESLint.ts index 085a9e0fdfa9..109c4835b34c 100644 --- a/packages/utils/src/ts-eslint/eslint/FlatESLint.ts +++ b/packages/utils/src/ts-eslint/eslint/FlatESLint.ts @@ -51,7 +51,7 @@ export namespace FlatESLint { /** * The path to a configuration file, overrides all configurations used with this instance. * The options.overrideConfig option is applied after this option is applied. - * Searches for default config file when falsy; doesn't do any config file lookup when `true`; considered to be a config filename when a string. + * Searches for default config file when falsy. Does not do any config file lookup when `true`. Considered to be a config filename when a string. * @default false */ overrideConfigFile?: boolean | string; From 9f4b6e917bc18eee07263fd383a3e9d8b513fc5d Mon Sep 17 00:00:00 2001 From: Zamiell <5511220+Zamiell@users.noreply.github.com> Date: Fri, 12 Sep 2025 16:15:12 -0400 Subject: [PATCH 2/3] update --- packages/utils/src/ts-eslint/eslint/FlatESLint.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/utils/src/ts-eslint/eslint/FlatESLint.ts b/packages/utils/src/ts-eslint/eslint/FlatESLint.ts index 109c4835b34c..325132abe5ea 100644 --- a/packages/utils/src/ts-eslint/eslint/FlatESLint.ts +++ b/packages/utils/src/ts-eslint/eslint/FlatESLint.ts @@ -49,9 +49,14 @@ export namespace FlatESLint { */ ignorePatterns?: string[] | null; /** - * The path to a configuration file, overrides all configurations used with this instance. - * The options.overrideConfig option is applied after this option is applied. - * Searches for default config file when falsy. Does not do any config file lookup when `true`. Considered to be a config filename when a string. + * The path to a configuration file. + * + * - Overrides all configurations used with this instance. + * - The options.overrideConfig option is applied after this option is applied. + * - Searches for default config file when falsy. + * - Does not do any config file lookup when `true`. + * - Considered to be a config filename when a string. + * * @default false */ overrideConfigFile?: boolean | string; From d4443b37df011401cf09cb96f0a587062af6cd00 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Sun, 14 Sep 2025 19:52:08 -0400 Subject: [PATCH 3/3] Update packages/utils/src/ts-eslint/eslint/FlatESLint.ts --- packages/utils/src/ts-eslint/eslint/FlatESLint.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/utils/src/ts-eslint/eslint/FlatESLint.ts b/packages/utils/src/ts-eslint/eslint/FlatESLint.ts index 325132abe5ea..9466a689dd30 100644 --- a/packages/utils/src/ts-eslint/eslint/FlatESLint.ts +++ b/packages/utils/src/ts-eslint/eslint/FlatESLint.ts @@ -49,13 +49,12 @@ export namespace FlatESLint { */ ignorePatterns?: string[] | null; /** - * The path to a configuration file. + * The path to a configuration file. Overrides all configurations used with this instance. + * The options.overrideConfig option is applied after this option is applied. * - * - Overrides all configurations used with this instance. - * - The options.overrideConfig option is applied after this option is applied. - * - Searches for default config file when falsy. - * - Does not do any config file lookup when `true`. - * - Considered to be a config filename when a string. + * - When falsy, searches for default config file. + * - When `true`, does not do any config file lookup. + * - When a string, considered to be a config file name. * * @default false */