File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,6 +60,17 @@ export default defineConfig([
6060 '@typescript-eslint/member-delimiter-style' : 'off' ,
6161 '@typescript-eslint/explicit-function-return-type' : 'off' ,
6262 '@typescript-eslint/no-deprecated' : 'warn' ,
63+ // ----
64+ // TypeScript reports all of these rules as part of normal type checking,
65+ // and the plugin re-parses the whole import graph to do it.
66+ // https://typescript-eslint.io/troubleshooting/typed-linting/performance#eslint-plugin-import
67+ // Note: import/no-unresolved stays on, since tsc accepts any path matched by a
68+ // wildcard (e.g. Next's '*.module.css') without checking that the file exists.
69+ 'import/named' : 'off' ,
70+ 'import/namespace' : 'off' ,
71+ 'import/default' : 'off' ,
72+ 'import/no-named-as-default-member' : 'off' ,
73+ // ----
6374 'import/order' : [
6475 'error' ,
6576 {
You can’t perform that action at this time.
0 commit comments