Modify your ESLint configuration to ignore virtual paths by adding the following rule:
'import/no-unresolved': ['error', { ignore: ['^virtual:'] }]