Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

intelliter

deerawan11MIT0.0.1

setup intellij IDEA formatter

intellij IDEA, formatter

readme

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