As a developer I want to create a custom config in my repo that this hook automatically searches for and uses as the config passed to checkstyle.
Acceptance Criteria
I can either create a custom .checkstyle_config.xml file in the root level of the repo which gets automatically detected or passed as an argument in the .pre-commit-config.yaml file.
i.e:
--config [-c] path/to/file/.checkstyle_config.xml
As a developer I want to create a custom config in my repo that this hook automatically searches for and uses as the config passed to checkstyle.
Acceptance Criteria
I can either create a custom
.checkstyle_config.xmlfile in the root level of the repo which gets automatically detected or passed as an argument in the.pre-commit-config.yamlfile.i.e: