Skip to content

Commit 3eff709

Browse files
authored
docs: replace deprecated Linter.FlatConfig type with Linter.Config (#18941)
1 parent 2738322 commit 3eff709

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/use/configure/configuration-files.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ export default [
534534
"no-console": [0],
535535
},
536536
},
537-
] satisfies Linter.FlatConfig[];
537+
] satisfies Linter.Config[];
538538
```
539539

540540
Here's an example in CommonJS format:
@@ -543,7 +543,7 @@ Here's an example in CommonJS format:
543543
import type { Linter } from "eslint";
544544
const eslint = require("@eslint/js");
545545

546-
const config: Linter.FlatConfig[] = [
546+
const config: Linter.Config[] = [
547547
eslint.configs.recommended,
548548
{
549549
rules: {

0 commit comments

Comments
 (0)