Unable to resolve path to module 'react'.eslintimport/no-unresolved code example
Example: unable to resolve path to module eslint(import/no-unresolved) absoute path
{
...
settings: {
...
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
moduleDirectory: ['node_modules', 'src/'],
},
},
}
}