INRIA/spoon
feat: add SpoonCheckstyleCompliantPrettyPrinter to be compliant with Spoon's own formatting rules
开放
#3,623 创建于 2020年10月1日
featuregood first issue
仓库指标
- 星标
- (1,933 个星标)
- PR 合并指标
- (平均合并 19天 11小时) (30 天内合并 49 个 PR)
描述
We want to use Spoon to transform the code of Spoon. For this, we need a Spoon pretty-printer that is compliant with Spoon's checkstyle.
The idea is to create a class SpoonCheckstyleCompliantPrettyPrinter which extends DefaultJavaPrettyPrinter
Here are the rules with the number of violations in src/main/java today:
2 [modifierorder]
2 [rightcurly]
2 [unusedimports]
5 [regexpsinglelinejava]
77 [whitespaceafter]
99 [nowhitespacebefore]
167 [parenpad]
237 [regexpsingleline]
1629 [whitespacearound]