Closed
Description
I've just upgraded to [email protected]
and [email protected]
and started to get import/order
errors:
Any module defined in @types/*
(e.g. @types/express
in this case) is seen as "internal", while modules with their own types (e.g. http-status-codes
) are seen as "external". I've tried with other modules as well.
Changing the default order to:
'import/order': [
'error',
{
groups: ['internal', 'external'],
},
],
Gets rid of the error.
Can't understand the root cause though, but here's some logging from the resolver if it helps:
The import/order
rule history doesn't seem to have anything suspicious. Could the new version of the resolver be causing this?