From 5ebd013c40c119f009d3bf7de232b75a3c8c0c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Fri, 25 Aug 2023 02:00:46 +0800 Subject: [PATCH 1/2] refactor: deprecate predefined config of flat config --- src/flat-config/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/flat-config/index.d.ts b/src/flat-config/index.d.ts index 13da90be..af0c6a9b 100644 --- a/src/flat-config/index.d.ts +++ b/src/flat-config/index.d.ts @@ -69,6 +69,8 @@ export interface FlatESLintConfigItem { * Predefined configurations. * * @see [Using predefined configurations](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-predefined-configurations) + * + * @deprecated The predefined string configurations are deprecated and will be replaced by the @eslint/js package's 'recommended' config. */ export type PredefinedConfig = 'eslint:recommended' | 'eslint:all'; From b500ff783eae2517db80a02fa6e3ced07fdff1d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Fri, 25 Aug 2023 02:02:22 +0800 Subject: [PATCH 2/2] chore: update --- src/flat-config/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flat-config/index.d.ts b/src/flat-config/index.d.ts index af0c6a9b..9254effe 100644 --- a/src/flat-config/index.d.ts +++ b/src/flat-config/index.d.ts @@ -70,7 +70,7 @@ export interface FlatESLintConfigItem { * * @see [Using predefined configurations](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-predefined-configurations) * - * @deprecated The predefined string configurations are deprecated and will be replaced by the @eslint/js package's 'recommended' config. + * @deprecated The predefined string configurations are deprecated and will be replaced by the @eslint/js package. */ export type PredefinedConfig = 'eslint:recommended' | 'eslint:all';