Eslint Import Configuration with Typescript Support
- Install the correct version of package, which are listed by the command:
npm install "@sanv/eslint-config-import-typescript" --save-dev
- Add next line to your
.eslintrc.js
:
module.exports = {
plugins: ['import'],
extends: [
'@sanv/eslint-config-import-typescript',
],
}