Formatting inconsistent when both <tabs> and <spaces> indentation rules are present
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 559
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 34
Description
I'm encountering inconsistent formatting behavior when both blocks — one tabs true and another with spaces true — are defined under the Spotless configuration in a Maven project.
Some Java files are formatted, some are skipped, and others show partial formatting. When I remove one of the two blocks, the behavior becomes consistent.
I keep getting this debug log
``` [DEBUG] Spotless will not format an up-to-date file: ```
```java
com.diffplug.spotless
spotless-maven-plugin
2.43.0
src/main/java/**/*.java
src/test/java/**/*.java
true
2
true
4
1.17.0
pom.xml
false
**/node/**
**/node_modules/**
**/*.md
check
validate
```
Contributor guide
Assessment
This issue has not been assessed yet.