INRIA/spoon

Spotless for imports

オープン

#5,741 opened on 2024/04/06

 (8 件のコメント) (1 件のリアクション) (0 人の担当者)Java (383 件のフォーク)github user discovery
discussiongood first issue

Repository metrics

Stars
 (1,933 個のスター)
PR merge metrics
 (平均マージ 19d 11h) (30d で 49 merged PRs)

説明

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.

コントリビューターガイド