link to config.html as Rick suggested
This commit is contained in:
parent
8668bd2708
commit
00e949b426
|
|
@ -399,11 +399,11 @@
|
|||
<module name="Checker">
|
||||
<module name="TreeWalker">
|
||||
|
||||
<!-- your standard Checks that come with Checkstyle -->
|
||||
<!-- your standard Checks that come with Checkstyle -->
|
||||
<module name="UpperEll"/>
|
||||
<module name="MethodLength"/>
|
||||
|
||||
<!-- your Check goes here -->
|
||||
<!-- your Check goes here -->
|
||||
<module name="com.mycompany.checks.MethodLimitCheck">
|
||||
<property name="max" value="45"/>
|
||||
</module>
|
||||
|
|
@ -412,11 +412,6 @@
|
|||
</pre>
|
||||
</p>
|
||||
|
||||
<p class="body">
|
||||
TODO: Explain how to integrate a user check into the package
|
||||
config file.
|
||||
</p>
|
||||
|
||||
<p class="body">
|
||||
To run the new Check on the command line compile your check,
|
||||
create a jar that contains the classes and property files,
|
||||
|
|
@ -432,6 +427,13 @@
|
|||
youself a Checkstyle expert. Go to your fridge. Have a beer.
|
||||
</p>
|
||||
|
||||
<p class="body">
|
||||
Please consult the <a href="config.html#packagenames">checkstyle
|
||||
configuration manual</a> to learn how to integrate your checks
|
||||
into the package configuration so that you can use <span
|
||||
class="code">MethodLimit</span> instead of the full class name.
|
||||
</p>
|
||||
|
||||
<a name="limitations"></a>
|
||||
<h3>Limitations</h3>
|
||||
<p class="body">
|
||||
|
|
|
|||
Loading…
Reference in New Issue