File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
were changed, added, or removed between v8 and v9.
10
10
- The way configuration is done change significantly. Suggestions welcome on
11
11
how best to adapt to the new style.
12
+ - ** BREAKING** : Set ` ecmaVersion ` to ` latest ` . Override in project config if a
13
+ specific version limitation is required.
12
14
13
15
### Migration
14
16
- ESLint v9 is a major breaking change and will require manual updates.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import eslintPluginImport from 'eslint-plugin-import';
3
3
export default [
4
4
{
5
5
languageOptions : {
6
- ecmaVersion : 2020 ,
6
+ ecmaVersion : 'latest' ,
7
7
sourceType : 'module'
8
8
} ,
9
9
plugins : {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export default [
5
5
js . configs . recommended ,
6
6
{
7
7
languageOptions : {
8
- ecmaVersion : 2022 ,
8
+ ecmaVersion : 'latest' ,
9
9
sourceType : 'module'
10
10
} ,
11
11
rules : {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export default [
4
4
//eslintPluginUnicorn.configs['flat/recommended'],
5
5
{
6
6
languageOptions : {
7
- ecmaVersion : 2022 ,
7
+ ecmaVersion : 'latest' ,
8
8
sourceType : 'module'
9
9
} ,
10
10
plugins : {
You can’t perform that action at this time.
0 commit comments