I'd like to auto format apex class/method/field names on pre-commit hook.
I'm looking for rules like PMD fieldnamingconventions but to be automatically formatted like Prettier can do. https://pmd.sourceforge.io/pmd-6.48.0/pmd_rules_apex_codestyle.html#fieldnamingconventions
I could use PMD or sfdx-scanner, but both just report the issue and don't fix it automatically. I could use Prettier apex plugin, but I couldn't find any config for naming conventions in the docs.
Is there some configuration for these tools or some different tool that can achieve this?
Thanks!