Skip to content

Commit 74a16c5

Browse files
fix: drop languageOptions config from flat/recommended (#368)
Co-authored-by: JounQin <admin@1stg.me>
1 parent 40be32a commit 74a16c5

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.changeset/shiny-eels-wink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-import-x": patch
3+
---
4+
5+
fix: drop `languageOptions` config from `flat/recommended`

src/config/flat/recommended.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,4 @@ export default {
1515
'import-x/no-named-as-default-member': 'warn',
1616
'import-x/no-duplicates': 'warn',
1717
},
18-
19-
// need all these for parsing dependencies (even if _your_ code doesn't need
20-
// all of them)
21-
languageOptions: {
22-
ecmaVersion: 2018,
23-
sourceType: 'module',
24-
},
2518
} satisfies PluginFlatBaseConfig

0 commit comments

Comments
 (0)