1.3.1 • Published 3 years ago

import-sort-style-as v1.3.1

Weekly downloads
88
License
MIT
Repository
github
Last release
3 years ago

import-sort-style-alias

Sort resolve.alias separately, first by the order defined in the array, then by member name

npm i import-sort-style-alias --save-dev

package.json

  "importSort": {
    ".js, .jsx, .es6, .es": {
      "parser": "babylon",
      "style": "alias",
      "custom": {
        "alias": ["components", "modules"]
      }
    },
    ".ts, .tsx": {
      "parser": "typescript",
      "style": "alias",
      "custom": {
        "alias": ["components", "modules"]
      }
    }
1.3.1

3 years ago

1.3.0

3 years ago

1.2.3

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago