Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Ability to list all failing files with spotlessCheck

未关闭
#2,418 6 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
java

调研方向

从 issue 中引用的限制处开始查看 lib-extra/src/main/java/com/diffplug/spotless/extra/integration/DiffMessageFormatter.java,并使用超过十个失败文件复现 spotlessCheck 的输出。当 check 可以显示所有失败文件,或限制已被明确提高,同时保留现有的运行 spotlessApply 的指导时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

enhancement

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

主要语言
Java
星标
5.7k
派生
560
平均合并
1 天 6 小时
30 天内合并 PR
48

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

diffplug/spotless 的其他 Issue

查看 diffplug/spotless 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。