Style checker that enforces import ordering.
Checks method calls to ensure that passed literals are named.
Checks that the ScalaDoc exists for all accessible members: - classes, traits, case classes and objects - methods - vals, vars and types
Checks that the ScalaDoc exists for all accessible members: - classes, traits, case classes and objects - methods - vals, vars and types
The ScalaDoc's structure must satisfy the parameter of the constructor in case of case classes and classes, or the parameter of the methods. The ScalaDoc must include the type parameters. Finally, the ScalaDoc must include return description for non-Unit returning methods.
comment check for line comment style TODO or FIXME
Contains the ScalaDoc model with trivial parsers
Style checker that enforces import ordering. The following configuration parameters are available:
For example, to check that "java" and "javax" imports are in a separate group at the top of the import list, you'd use this config:
<parameter name="groups">java,others</parameter> <parameter name="group.java">javax?\..+</parameter> <parameter name="group.other">.+</parameter>
Other non-configurable rules: - Within each group, import clauses are ordered alphabetically if 'lexicographic' is specified; else puts wildcards, then classes and packages, with case-insensitive sort. - In multi-import statements, entries are ordered alphabetically, with method / packages (assumed to be any string starting with a lower case letter) coming before classes.
Currently, this checker only looks at the top-level list of imports.