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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy