Last active
May 2, 2022 13:51
-
-
Save phatnguyenuit/52a12ec457af152af445c1f7818e85d4 to your computer and use it in GitHub Desktop.
How to sort imports like a pro in TypeScript | .eslintrc.js | import resolver settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
// Extends the previous ESLint configuration by adding `settings` | |
// <--! Previous configuration comes here !--> | |
settings: { | |
'import/resolver': { | |
typescript: { | |
project: './tsconfig.json', | |
}, | |
}, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment