Ability to list all failing files with spotlessCheck
- Vorherrschende Sprache
- Java
- Sterne
- 5.6k
- Forks
- 559
- Ø Merge
- 1 T. 14 Std.
- Gemergte PRs (30 T.)
- 43
Beschreibung
Hello
Today running spotlessCheck allows the display of maximum 10 files as stated in : https://github.com/diffplug/spotless/blob/5a5db69db6254de76c2b33ca4c1f76d3da5d62b3/lib-extra/src/main/java/com/diffplug/spotless/extra/integration/DiffMessageFormatter.java#L161
Example of logged error today :
```
Violations also present in 41 other files.
Run 'gradlew.bat :spotlessApply' to fix these violations.
\* Try:`
\> Run with \-\-stacktrace option to get the stack trace.
\> Run with --info or \-\-debug option to get more log output.
\* Get more help at https://help.gradle.org`
BUILD FAILED in 6s
3 actionable tasks: 1 executed, 1 from cache, 1 up-to-date
```
For our projects, we need be able to see all files that are breaking the formatting.
Could we remove this limit or raise it ?
Thank you
Beitragsleitfaden
Rechercherichtung
Beginnen Sie mit lib-extra/src/main/java/com/diffplug/spotless/extra/integration/DiffMessageFormatter.java bei dem im Issue referenzierten Limit und reproduzieren Sie die Ausgabe von spotlessCheck mit mehr als zehn fehlschlagenden Dateien. Erledigt ist die Aufgabe, wenn der Check alle fehlschlagenden Dateien anzeigen kann oder ein deutlich erhöhtes Limit aufweist und dabei die bestehende Anleitung zum Ausführen von spotlessApply beibehalten wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- build-system, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100