https://checkstyle.org/config_annotation.html#AnnotationUseStyle
-
Add example for each existing config to show what code is ok and what code cause violation.
Good example is https://checkstyle.org/config_naming.html#AbstractClassName
-
Please add example with non default value for trailingArrayComma
look at referenced commits of #5832, to see what and how should be changed in code.
please play with module/Check by means of https://checkstyle.org/cmdline.html to understand how it works.
PLEASE READ https://github.com/checkstyle/checkstyle/wiki/Good-practice-on-how-to-update-examples
https://checkstyle.org/config_annotation.html#AnnotationUseStyle
Add example for each existing config to show what code is ok and what code cause violation.
Good example is https://checkstyle.org/config_naming.html#AbstractClassName
Please add example with non default value for
trailingArrayCommalook at referenced commits of #5832, to see what and how should be changed in code.
please play with module/Check by means of https://checkstyle.org/cmdline.html to understand how it works.
PLEASE READ https://github.com/checkstyle/checkstyle/wiki/Good-practice-on-how-to-update-examples