Reference issues, not authors, in TODO blocks
Authors tend to change projects frequently at Palantir, leaving a bunch of TODOs behind with their name. We've found it useful to get TODOs linked to issues, so they can be more easily tracked, explained and discussed.
</module>
<module name="RegexpSinglelineJava">
<property name="format" value="\/\/TODO|\/\/ TODO(?!\([^()\s]+\): )"/>
- <property name="message" value="TODO format: // TODO(flastname): explanation"/>
+ <property name="message" value="TODO format: // TODO(#issue): explanation"/>
</module>
<module name="RegexpSinglelineJava">
<property name="format" value="(void setUp\(\))|(void setup\(\))|(void setupStatic\(\))|(void setUpStatic\(\))|(void beforeTest\(\))|(void teardown\(\))|(void tearDown\(\))|(void beforeStatic\(\))|(void afterStatic\(\))"/>
