Skip to content

Commit 609d487

Browse files
authored
Refactor: Replace deprecated Linter.FlatConfig with Linter.Config (#2817)
1 parent 4956a6b commit 609d487

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ import type {ESLint, Linter} from 'eslint';
22

33
declare const eslintPluginUnicorn: ESLint.Plugin & {
44
configs: {
5-
recommended: Linter.FlatConfig;
6-
unopinionated: Linter.FlatConfig;
7-
all: Linter.FlatConfig;
5+
recommended: Linter.Config;
6+
unopinionated: Linter.Config;
7+
all: Linter.Config;
88

99
/** @deprecated Use `all` instead. The `flat/` prefix is no longer needed. */
10-
'flat/all': Linter.FlatConfig;
10+
'flat/all': Linter.Config;
1111

1212
/** @deprecated Use `recommended` instead. The `flat/` prefix is no longer needed. */
13-
'flat/recommended': Linter.FlatConfig;
13+
'flat/recommended': Linter.Config;
1414
};
1515
};
1616

0 commit comments

Comments
 (0)