Skip to main content

Using a Git alias with Lintje

It’s possible to set up an alias in Git to use git lint as the Lintje command. Any other alias you prefer is also possible.

Set up your alias with the following command.

git config --global alias.lint '!lintje'

You’ll then be able to call it like the examples below and any other methods listed on the usage page.

git lint
git lint main..develop