There is a huge list of defaults. Some things default
to on, some to off, some to on with a particular parameter.
I think it would be better if everything were off by
default, and then the user could only turn on the ones
he/she wanted. This would make it much easier if a
user only wanted to find unused imports, for example.
However, this might be a little onerous for some.
Therefore, in addition to this, it might be nice to
provide some "modules" that enable a set of checks.
For example, see feature request 640335. One module
could be the set of defaults specified by that feature
request. Another could the the current set of
defaults, which you might call "checkstyle traditional"
or some such.
This change also implies no need for "checkstyle.allow"
type properties. You only want to indicate what you
want to enforce or disallow.
The size of this change if done and effect on backwards
compatibility would probably justify a major release
Log in to post a comment.