Commit graph

858 commits

Author SHA1 Message Date
c254afcca7 builder:pom.xml: clean up 2017-01-13 22:53:01 +00:00
a0a282e48f pom.xml: set build source and output encoding to UTF-8 2017-01-13 19:32:36 +00:00
0169b1d608 Merge pull request #3 from kemitix/levels
Split ruleset into Levels
2017-01-10 23:05:51 +00:00
15b0ae9727 .travis.yml: only publish coverage for builder project 2017-01-10 22:58:37 +00:00
f39f1a88db builder: configure coveralls coverage reporting 2017-01-10 20:34:23 +00:00
292b777aa0 .travis.yml: added 2017-01-10 20:30:54 +00:00
e5c22f47e0 builder:DefaultRuleReadmeLoaderTest: added 2017-01-10 20:29:33 +00:00
2b08488e38 builder:ReadmeFragmentNotFoundException: added 2017-01-10 20:29:04 +00:00
ced2def664 builder: DefaultRuleReadmeLoader: don't inject blank line above each rule 2017-01-10 20:10:57 +00:00
1333df0c98 builder:CheckstyleWriterTest: use lombok's val 2017-01-10 19:59:36 +00:00
d342495fbd builder:{Checkstyle,Readme}WriterTest: use @Rule TemporaryFolder 2017-01-10 19:59:14 +00:00
8696fb10cd README.md: update usage example 2017-01-09 08:31:56 +00:00
b414a8e602 builder:RuleParentTest: added 2017-01-07 18:20:55 +00:00
c73a23f838 builder:ReadmeWriterTest: added 2017-01-07 18:16:19 +00:00
53586a7ffd builder:RuleTest: added
Rule:

* remove redundant @ToString
* prevent creation of setProperties()
2017-01-07 18:16:02 +00:00
9b3f0869ea builder:RuleSourceTest: added
Replace final delimiter in RuleSource.
2017-01-07 12:08:38 +00:00
a31b2d81d3 builder:RulesPropertiesTest: added
Remove unused setter on RulesProperties.
2017-01-07 11:56:24 +00:00
e6b1779f72 builder:OutputProperties: added 2017-01-07 11:52:19 +00:00
a90751a237 builder:TemplatePropertiesTest: added 2017-01-07 11:47:56 +00:00
419817f25f builder:DefaultReadmeIndexBuilderTest: added 2017-01-07 11:41:35 +00:00
4989f21331 builder:DefaultReadmeIndexBuilder: move table header to README-template.md 2017-01-07 11:27:38 +00:00
9f979955f8 builder:pom.xml: use kemitix-spring-parent 2017-01-06 22:37:24 +00:00
c027c372d8 builder:CheckstyleWriter: use UTF-8 encoding to load XML template 2017-01-06 22:36:52 +00:00
be2e92bdb6 builder:CheckstyleWriterTest: added 2017-01-06 22:10:40 +00:00
13e813b558 builder:CheckstyeWriter: restructure and write file with default options
Flip if block inside-out and add some logging
2017-01-06 22:10:27 +00:00
ab0a95e395 builder:RulesProperties: initialise rules list 2017-01-06 21:56:37 +00:00
abb8e8e5c0 builder:pom.xml: add test dependencies 2017-01-06 21:50:00 +00:00
9e26504c67 builder: meet level 5 complexity
* DefaultReadmeIndexBuilder: final build() method
* DefaultReadmeIndexBuilder: avoid inline conditionals
* DefaultRuleReadmeLoader: reduce returns in load method
2017-01-06 16:38:41 +00:00
e2069b8d0d builder: meet level 4 tweaks
* Add missing Rule SuppressWarningsFilter
* Suppress HideUtilityClassConstructor on main class
2017-01-06 16:24:22 +00:00
9eb00f5a16 builder: meet level 3 javadoc 2017-01-06 16:00:08 +00:00
c88b820c5f builder: meet level 2 naming
* remove duplicate string literal
2017-01-06 15:59:44 +00:00
a804775f1a builder: fix author tags 2017-01-06 15:50:50 +00:00
7e9b17f1cc builder:pom.xml: eat out own dog food - level 1 layout
* Add license header to source files
* fix long line
2017-01-06 15:49:11 +00:00
a83cc94dd8 builder:checkstyle-template: fix name of TreeWalker module 2017-01-06 15:32:29 +00:00
8738afea8b README.md: update example usage 2017-01-06 15:31:14 +00:00
a5d2a300f9 LICENSE.*: rename from md to txt and copy to builder 2017-01-06 15:30:33 +00:00
affe65263a README.md: fix links to rules
Having the level in the heading meant that the anchor link was modified,
breaking the links.
2017-01-06 15:12:10 +00:00
c46668d1f1 builder:ReadmeIndexBuilder: refactored out from ReadmeWriter 2017-01-06 14:50:45 +00:00
f6ee87e6dc README.md: replace rule index list with a table 2017-01-06 13:23:03 +00:00
349c995f66 README.md: include rule level in each rule's documentation 2017-01-05 23:54:44 +00:00
a2b64abe77 README.md: include rule level in index 2017-01-05 23:51:59 +00:00
0dd1ec4990 README.md: update to builder generated version 2017-01-05 23:43:53 +00:00
1fa27f2071 builder:DefaultRuleReadmeLoader: show 'reason' instead for disabled rules 2017-01-05 23:41:45 +00:00
b70b7c4a5a builder:application.yml: added details of disabled rules
Includes the reason they are disabled.
2017-01-05 23:33:11 +00:00
b37616ce70 builder:readme:README.*.md: remove redundant fragments 2017-01-05 22:14:07 +00:00
8eeb0a3cec builder:ReadmeWriter: added
Doesn't support including disabled rules yet.
2017-01-05 16:57:32 +00:00
92b8dabd93 builder:Rule:insuppressible: add flag for rules that can't be suppressed 2017-01-05 16:57:32 +00:00
6e9ac736e9 builder:README-template.md: added 2017-01-05 16:32:30 +00:00
fb02dc5f88 builder:RuleReadmeLoader: added rule documentation fragment loader 2017-01-05 16:31:27 +00:00
44603084fa builder:CheckstyleWriter: get template location from TemplateProperties 2017-01-05 16:20:22 +00:00