sourabhkumar47 / ResQFood

ResQFood is a platform dedicated to the noble cause of reducing food wastage by facilitating the redistribution of surplus food during late-night hours before restaurant closures. Our mission is to ensure that excess inventory finds a purposeful destination rather than ending up in landfills, contributing to a more sustainable and compassionate foo
MIT License
19 stars 38 forks source link

💡[Feature]: Setup Spotless for code formatting #114

Open OkelloSam21 opened 3 weeks ago

OkelloSam21 commented 3 weeks ago

Is there an existing issue for this?

Feature Description

I would like to request the integration of Spotless into the project. Spotless is a code formatting and linting tool that can help maintain a consistent code style across the entire codebase. By automatically formatting code according to predefined rules, it reduces the need for manual code reviews focused on style issues and helps developers focus on more substantive issues.

Use Case

Integrating Spotless would automate this process, ensuring that all code adheres to the same style guide before it is reviewed. This would be particularly beneficial in a multi-contributor environment where maintaining a consistent style can be challenging. For instance, new contributors could focus more on the logic and functionality of their contributions without worrying about code style, as Spotless would handle it for them.

Benefits

Consistency: Ensures a consistent code style across the entire codebase, making it easier to read and maintain. Efficiency: Reduces the time spent on code reviews by automating style checks and formatting, allowing reviewers to focus on logic and functionality. Onboarding: Eases the onboarding process for new contributors, as they can rely on automated tools to enforce code style. Quality: Improves the overall quality of the codebase by adhering to best practices and style guidelines. Automation: Integrates with existing CI/CD pipelines to automatically check and format code, providing immediate feedback to developers.

Add ScreenShots

No response

Priority

High

Record