@@ -33,7 +33,7 @@ const config: FlatConfig[] = [
3333 [ "@typescript-eslint" ] : tseslint . plugin ,
3434 [ "eslint-comments" ] : eslintCommentsPlugin ,
3535 [ "eslint-plugin" ] : eslintPluginPlugin ,
36- [ "import" ] : importPlugin ,
36+ [ "import-x " ] : importPlugin ,
3737 [ "jsdoc" ] : jsdocPlugin ,
3838 [ "perfectionist" ] : perfectionist ,
3939 [ "simple-import-sort" ] : simpleImportSortPlugin ,
@@ -127,19 +127,19 @@ const config: FlatConfig[] = [
127127 "jsdoc/require-yields" : "off" ,
128128 "jsdoc/tag-lines" : "off" ,
129129 // Part: import rules
130- "import/consistent-type-specifier-style" : "warn" ,
131- "import/export" : "error" ,
132- "import/first" : "warn" ,
133- "import/named" : "off" ,
134- "import/newline-after-import" : "warn" ,
135- "import/no-absolute-path" : "error" ,
136- "import/no-cycle" : "off" ,
137- "import/no-duplicates" : "off " ,
138- "import/no-dynamic-require" : "error" ,
139- "import/no-empty-named-blocks" : "error" ,
140- "import/no-mutable-exports" : "error" ,
141- "import/no-self-import" : "off" ,
142- "import/no-unused-modules" : "error" ,
130+ "import-x /consistent-type-specifier-style" : "warn" ,
131+ "import-x /export" : "error" ,
132+ "import-x /first" : "warn" ,
133+ "import-x /named" : "off" ,
134+ "import-x /newline-after-import" : "warn" ,
135+ "import-x /no-absolute-path" : "error" ,
136+ "import-x /no-cycle" : "off" ,
137+ "import-x /no-duplicates" : "error " ,
138+ "import-x /no-dynamic-require" : "error" ,
139+ "import-x /no-empty-named-blocks" : "error" ,
140+ "import-x /no-mutable-exports" : "error" ,
141+ "import-x /no-self-import" : "off" ,
142+ "import-x /no-unused-modules" : "error" ,
143143 // Part: simple-import-sort rules
144144 "simple-import-sort/exports" : "warn" ,
145145 "simple-import-sort/imports" : "warn" ,
0 commit comments