Ross ROSS = Recommend OSS · open-source software intelligence for agents

IanVS/prettier-plugin-sort-imports

An opinionated but flexible prettier plugin to sort import statements observed · 2026-08-28

github.com/IanVS/prettier-plugin-sort-imports · TypeScript · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

73/100

  • Activity 65
  • Release rhythm 69
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 19.5
  • age_days: 1650
  • days_rel: 210
  • days_push: 210
  • n_releases_24m: 11

Full methodology

Adoption not part of the score

1373 stars · 37 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Prettier plugin that sorts import declarations according to a configurable regular-expression-based order while preserving side-effect import ordering. It is a maintained fork of @trivago/prettier-plugin-sort-imports with extra features like combining imports from the same source and grouping type imports.

Use cases

  • sort javascript imports with prettier
  • organize import statements in typescript projects
  • group type imports separately from value imports
  • keep side-effect imports in their original order while sorting others
  • combine duplicate imports from the same module
  • enforce a consistent import order across a codebase

When to choose

  • you already use Prettier and want automatic, consistent import ordering
  • you need fine-grained control over import group order via regex patterns
  • your codebase has side-effect imports whose order must not change
  • you work with TypeScript and want type imports grouped separately

When to avoid

  • you don't use Prettier and want a standalone import sorter
  • you need ESLint-based import linting with autofix rather than formatting
  • you need sorting for languages other than JavaScript/TypeScript

Facets

plugin · maturity active

formatter plugin-system developer-tools developer-tools frontend web-development cli cross-platform prettier-plugin import-sorting code-style typescript nodejs

1 source

Member repositories

RepositoryRoleHealth v2
IanVS/prettier-plugin-sort-importsmain73

For agents

markdown · JSON · MCP: product_card(name="IanVS/prettier-plugin-sort-imports")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem