In a recent lab, a developer was tasked with setting up contribution instructions for their open-source project PolyglotCode. This involved adding a CONTRIBUTING.md file and configuring code formatting and linting tools. The developer chose GoogleJavaFormat for code formatting and Checkstyle for linting, citing the importance of maintaining consistent coding standards across contributions.
To set up these tools, the developer used Maven commands to integrate them with their project's pom.xml file. The resulting configuration allowed for automatic code formatting and linting, helping to ensure that contributors adhere to a unified style guide.
Source: https://dev.to/amullagaliev/contribution-instructions-formate-code-and-linting-1m86