-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better names for indentWithSpaces
and indentWithTabs
#794
Comments
Ah, that's something with
See @nedtwigg's rationale for this over at #58 (comment). tl;dr: it would clobber spaces in Javadoc comments otherwise. |
Ah, that's interesting. It should at the very least be renamed to remove the confusion, like |
|
indentWithSpaces
and indentWithTabs
@wheelerlaw If you're still willing and able to create a PR for this issue, then please feel free to go ahead. :) |
So I have this simple groovy formatter just to ensure that all files Groovy and Groovy related files end with newlines and are indented using 4 spaces. However, when I run
./gradlew spotlessApply
, files that are indented with 2 spaces are not converted. Here is the block:I am not using the
groovy
formatter because I have Jenkins script files that are located outside of source sets. So according to the documentation, this should work, since I have defined the target file name matcher, and the rules I want applied.Spotless version: 5.10.0
Gradle version: 6.7
Operating system: Fedora 33
The text was updated successfully, but these errors were encountered: