INRIA/spoon

Spotless for imports

开放

#5,741 创建于 2024年4月6日

 (8 条评论) (1 个反应) (0 位负责人)Java (383 个派生)github user discovery
discussiongood first issue

仓库指标

星标
 (1,933 个星标)
PR 合并指标
 (平均合并 19天 11小时) (30 天内合并 49 个 PR)

描述

Currently, our import ordering in spoon is a bit messy. This leads to an unpleasant time with IntelliJ trying to sort the imports in a more normal order. Why don't we use spotless-maven-plugin to sort all our imports in a fixed sorting? This also helps to reduce diffs in the future for PRs. The benefit compared to checkstyle is that we can do the sorting automatic. See https://github.com/diffplug/spotless/tree/main/plugin-maven#java for an example.

贡献者指南