Skip to content

Introduce additional config for TypeScript #1256

Closed
@kirill-konshin

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions