Default Node-style module resolution plugin for eslint-plugin-import
with file suffix support.
Plugin stripps suffix and passes resolution back to eslint-import-resolver-node
.
Install package:
npm install eslint-import-resolver-node-suffix --save-dev
Update ESLint configuraton for import/resolver
:
"settings": {
"import/resolver": {
"node-suffix": true
}
}