Ignore line-wrapping-only changes
Open
enhancement
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 559
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 34
Description
While using spotless for Android, we run in to an issue where Android Studio line wrapping is overridden with spotless. There is no API exposed for changing this so that we can synchronize Android studio line wrapping with Spotless line wrapping.
The formatting of java code is being set to `googleJavaFormat(1.8).aosp()` and having a customizable line wrapping would help with unwanted git changes issues.
`java {
target '**/*.java'
targetExclude '**/generated/**'
googleJavaFormat('1.8').aosp()
removeUnusedImports()
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
}`
Contributor guide
Assessment
This issue has not been assessed yet.