A repository containing some useful checkstyle checks (made for Proton).
Checks:
io.github.protonmc.proton_checkstyle_checks.FromModuleCheck
- Enforces the use of a configurable annotation (by default
FromModule
) in Mixin injections. - Unstable? Kinda? It doesn't verify that the annotations are from the correct package.
- Enforces the use of a configurable annotation (by default
io.github.protonmc.proton_checkstyle_checks.ModuleSuffixCheck
- Enforces subclasses of a configurable superclass (by default
ProtonModule
) to have a configurable suffix added to their name (by defaultModule
). - Unstable? Kinda? It doesn't verify that the classes are from the correct package.
- Enforces subclasses of a configurable superclass (by default
Checks:
io.github.protonmc.proton_checkstyle_checks.FromModuleCheck
- Enforces the use of
@FromModule
in Mixin injections. - Unstable? Kinda? It doesn't verify that the annotations are from the correct package.
- Enforces the use of