@hiogawa/jscodeshift-isort
v1.0.0-pre.3
Published
Sort `ImportDeclaration` and `ImportSpecifier` using a simple transform implemented on [`jscodeshift`](https://github.com/facebook/jscodeshift).
Downloads
1
Readme
jscodeshift-isort
Sort ImportDeclaration
and ImportSpecifier
using a simple transform implemented on jscodeshift
.
example usage
npm install -D jscodeshift @hiogawa/jscodeshift-isort
npx jscodeshift-isort $(git grep -l . '*.ts' '*.tsx') --fix
development
pnpm i
pnpm dev
./bin/cli.js $(git grep -l . '*.ts') --fix
# release
pnpm build
pnpm release