Closed
Description
In addition to config portion for React (https://github.com/benmosher/eslint-plugin-import/blob/master/config/react.js) I suggest to create a portion for TypeScript in a separate file:
{
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
}
}
In this case instead of endless copy-paste of this section users would simply add something like plugin:import/typescript
to their configs.
Metadata
Assignees
Labels
No labels