How to setup eslint alias paths
"settings": {
"import/resolver": {
"alias": {
map: [
[ "mycomponents", "./app/components" ]
]
}
}
}
References:
- https://www.npmjs.com/package/eslint-import-resolver-alias
- https://stackoverflow.com/questions/51369566/how-to-resolve-import-no-unresolved-with-setup-of-eslint-in-webpack-4