0.0.1 • Published 4 years ago

intelliter v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

intelliter

CLI command to setup intellij IDEA formatter for your project link.

So, you have a choice to use any code editor but still using intellij formatter. 😜

Install

Go into your project

With npx:

npx intelliter-setup

The command will ask you some questions such as:

  1. Intellij IDEA bin folder path
  2. Code style, default is code-style.xml
  3. Choice to setup precommit hook

Make sure you put intellij code style file to your project.

precommit hook will be configured using:

Usage

If you setup precommit hook, it will automatically format your code for staging files when you committing.

Otherwise, you could still run it with

npm run format

License

MIT © Budi Irawan