Skip to content

Instantly share code, notes, and snippets.

@phatnguyenuit
Last active May 2, 2022 13:51
Show Gist options
  • Save phatnguyenuit/52a12ec457af152af445c1f7818e85d4 to your computer and use it in GitHub Desktop.
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
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