Pull requests have a CI check for linting issues. To run the linter locally:
make lint
Lua formatting rules are specified in the stylua.toml
file at the root of the
repository.
To auto-format all files:
make format
- Check how the url permalinks for that host are constructed.
- Create a new host callback in
lua/gitlinker/hosts.lua and add it to the
M.callbacks
table in that file.
Create a new callback in lua/gitlinker/actions.lua
- Autogenerate docs
- Tests