1.0.2 • Published 4 years ago

import-sort-style-python v1.0.2

Weekly downloads
283
License
ISC
Repository
github
Last release
4 years ago

import-sort-style-python

npm version npm downloads

A style for import-sort that groups and sorts imports by module, inspired by isort’s grouping style:

  1. Node standard modules
  2. Framework modules
  3. Third-party modules
  4. First-party modules
  5. Explicitly local modules

Framework and First-party require setting some options in your config:

"importSort": {
  ".js": {
    "parser": "babylon",
    "style": "python",
    "options": {
      "knownFramework": [
        "@ember",
        "@glimmer"
      ],
      "knownFirstparty": [
        "my-project"
      ]
    }
  },
}
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.2.5

4 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

6 years ago

0.1.0

6 years ago