Skip to content

Commit 54c3ca6

Browse files
docs: fix migration-guide example (#17829)
Fixes #17771
1 parent 4391b71 commit 54c3ca6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/src/use/configure/migration-guide.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,11 @@ import globals from "globals";
318318
export default [
319319
{
320320
languageOptions: {
321+
ecmaVersion: 2022,
322+
sourceType: "module",
321323
globals: {
322324
...globals.browser,
323325
myCustomGlobal: "readonly"
324-
},
325-
parserOptions: {
326-
ecmaVersion: 2022,
327-
sourceType: "module"
328326
}
329327
}
330328
// ...other config

0 commit comments

Comments
 (0)