You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/use/migrate-to-10.0.0.md
+21-9Lines changed: 21 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
---
2
+
2
3
title: Migrate to v10.x
3
4
eleventyNavigation:
4
-
key: migrate to v10
5
-
parent: use eslint
6
-
title: Migrate to v10.x
7
-
order: 9
5
+
key: migrate to v10
6
+
parent: use eslint
7
+
title: Migrate to v10.x
8
+
order: 9
8
9
---
9
10
10
11
ESLint v10.0.0 is a major release of ESLint, and as such, has several breaking changes that you need to be aware of. This guide is intended to walk you through the breaking changes.
@@ -19,6 +20,7 @@ The lists below are ordered roughly by the number of users each change is expect
-[`no-shadow-restricted-names` now reports `globalThis` by default](#no-shadow-restricted-names)
21
22
-[`eslint:recommended` has been updated](#eslint-recommended)
23
+
-[Jiti < v2.2.0 are no longer supported](#-jiti--v220-are-no-longer-supported)
22
24
23
25
### Breaking changes for plugin developers
24
26
@@ -45,14 +47,16 @@ ESLint is officially dropping support for these versions of Node.js starting wit
45
47
46
48
## <aname="config-lookup-from-file"></a> New configuration file lookup algorithm
47
49
48
-
In ESLint v9, the alternate config lookup behavior could be enabled with the `v10_config_lookup_from_file` feature flag. This behavior made ESLint locate `eslint.config.*` by starting from the directory of each linted file and searching up towards the filesystem root. In ESLint v10, this behavior is now the default and the `v10_config_lookup_from_file` flag has been removed. Attempting to use this flag will now result in an error.
50
+
In ESLint v9, the alternate config lookup behavior could be enabled with the `v10\_config\_lookup\_from\_file` feature flag. This behavior made ESLint locate `eslint.config.\*` by starting from the directory of each linted file and searching up towards the filesystem root. In ESLint v10, this behavior is now the default and the `v10\_config\_lookup\_from\_file` flag has been removed. Attempting to use this flag will now result in an error.
## <aname="drop-old-jiti"></a> Jiti < v2.2.0 are no longer supported
96
+
97
+
ESLint is officially dropping support for versions of `jiti` that are less than v2.2.0.
98
+
99
+
**To address:** If you've authored your config file in `TypeScript` and have `jiti` v2.1.0 or earlier installed, be sure to update it to at least `2.2.0` when using ESLint v10.
0 commit comments