0.10.0 • Published 2 years ago

organize-imports-cli v0.10.0

Weekly downloads
11,385
License
MIT
Repository
github
Last release
2 years ago

organize-imports-cli

VS Code's 'Organize imports' executable from command line

Plays nicely with Prettier and lint-staged:

"lint-staged": {
  "*.ts": [
    "organize-imports-cli",
    "prettier --write"
  ]
}

Usage

> organize-imports-cli [--list-different] files...

Files can be specific ts and js files or tsconfig[.*].json, in which case the whole project is processed.

Files containing the substring // organize-imports-ignore are skipped.

The --list-different flag prints a list of files with unorganized imports. No files are modified.

0.10.0

2 years ago

0.9.0

2 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago