Search posts, tags, users, and pages
As a developer, you know that keeping your code clean and consistent is crucial for the success of any project. One tool that can help you achieve this is Spotless, a powerful code formatting plugin f
Joe Roskopf
@joetr · Minneapolis, MN
Principal Android Engineer @ Nike
Hey! I’m Joe! I’m an Android developer who is passionate about the human side of software development.
Markdown supported · ⌘↵ to post
Ahmad Wehbe
Hey Joe. This runs spotlessApply on all the project. but it only adds and commits staged files. Is there a way to run spotless only on staged files?
Hey! This definitely assumes the rest of the project already has spotless applied to it.
You could consider modifying the script / your project with the following: github.com/diffplug/spotless/tree/main/plugin-gra…
Ahmad Wehbe
Hey Joe. This runs spotlessApply on all the project. but it only adds and commits staged files. Is there a way to run spotless only on staged files?