10000 Fix import issue in eslint · immutable-js/immutable-js@e2e72cb · GitHub
[go: up one dir, main page]

Skip to content

Commit e2e72cb

Browse files
Fix import issue in eslint
1 parent dc6379a commit e2e72cb

File tree

4 files changed

+383
-267
lines changed

4 files changed

+383
-267
lines changed

eslint.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import globals from 'globals';
33
import pluginJest from 'eslint-plugin-jest';
44
import importPlugin from 'eslint-plugin-import';
55
import pluginReact from 'eslint-plugin-react';
6-
// eslint-disable-next-line import/no-unresolved
76
import tseslint from 'typescript-eslint';
87

98
/** @type {import('eslint').Linter.Config[]} */
@@ -156,5 +155,12 @@ export default tseslint.config(
156155
'prefer-arrow-callback': 'off',
157156
'@typescript-eslint/no-require-imports': 'off',
158157
},
158+
},
159+
{
160+
settings: {
161+
'import/resolver': {
162+
typescript: {},
163+
},
164+
},
159165
}
160166
);

0 commit comments

Comments
 (0)
0