This repository serves as a public Qlty git source that provides an example of a standardized static analysis configuration that can be shared across multiple repositories.
Add the following configuration to your qlty.toml
file:
[[source]]
name = "qlty-source"
repository = "https://github.com/qltysh/qlty-source"
tag = "v0.0.1" # or use latest tag
Alternatively, you can use a branch instead of a tag:
[[source]]
name = "qlty-source"
repository = "https://github.com/qltysh/qlty-source"
branch = "main"
Using one vs the other will depend on whether you want repositories to "opt-in" to changes in the standardized config (by bumping the tag), or receive them automatically (by specifying a branch).