intelliter
v0.0.1
Published
setup intellij IDEA formatter
Downloads
3
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:
- Intellij IDEA bin folder path
- Code style, default is
code-style.xml
- 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