Skip to content

ESLint configuration preset using eslint-plugin-simple-import-order. Just by extending this preset, the order of the imports will look ridiculously beautiful.

License

Notifications You must be signed in to change notification settings

typehut/eslint-config-import

Repository files navigation

@typehut/eslint-config-import CI npm downloads

Install

npm i -D @typehut/eslint-config-import

or

yarn add -D @typehut/eslint-config-import

Usage

{
  "extends": ["@typehut/eslint-config-import"]
}

Note that you cannot omit the eslint-config- prefix to extend.

Group Order

  1. Side effect (Can't auto-sorting within this group)
  2. Node.js built-in
  3. External
  4. Unknown
  5. Internal (Prefixed with @/ or ~/ are treated as internal group and are placed before relative paths)
  6. Type
  7. Style

About

ESLint configuration preset using eslint-plugin-simple-import-order. Just by extending this preset, the order of the imports will look ridiculously beautiful.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published