unable to resolve path to module eslint(import/no-unresolved) absoute path 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/'],
},
},
}
}