Commit graph

834 commits

Author SHA1 Message Date
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
2defbd6be3 builder:Rule: don't store body in Rule 2017-01-05 16:19:52 +00:00
0a99044dcc builder:OutputProperties: add path to README.md 2017-01-05 16:19:34 +00:00
e7f30c760b builder:TemplateProperties: added 2017-01-05 16:18:59 +00:00
d2a9f6ffa0 builder:README.header.md: update example versions 2017-01-05 09:48:04 +00:00
2e1404ffa4 builder:README.header.md: update with levels 2017-01-05 09:47:31 +00:00
f110e90cfd ruleset:README.md: removed
Only to root README.md is needed.
2017-01-05 09:46:32 +00:00
635bb5e5ff README: update usage instructions
Moved configuration to correct location in example.
2017-01-05 07:09:14 +00:00
cfa28e5f38 ruleset: add generated checkstyle configuration files for each rule level 2017-01-05 07:03:12 +00:00
cdfeccb98b builder:CheckstyleWriter: create xml files for each rule level 2017-01-05 07:02:33 +00:00
f2eb247d8b builder:checkstyle-template.xml: add String.format template for xml files 2017-01-05 07:01:57 +00:00
95bc4064ae builder:pom.xml: add dependency on mapstream 2.3.4 2017-01-05 07:01:27 +00:00
23d1a49592 builder:Application: remove rule lister 2017-01-05 06:59:07 +00:00
f57fcfe3f6 builder:OutputProperties: restructured output file specification
Map the filenames from each of the RuleLevel values.
2017-01-05 06:58:52 +00:00
ac3f7b28ab builder:application.yml: assign missing levels to rules 2017-01-05 06:43:08 +00:00
7bd6dc038b builder:Application:add EnableConfifurationProperties
Remove unused @Slf4j annotation
2017-01-04 22:26:17 +00:00
aa6bb84396 builder:RulesProperties: added javadoc 2017-01-04 22:25:32 +00:00
68c74e2d08 builder:Rule: add javadoc 2017-01-04 22:25:19 +00:00
d52b630db5 builder:Application: list rules on startup 2017-01-04 20:45:18 +00:00
81bb3c02c4 builder:Rule{sProperties}: load properly 2017-01-04 20:44:49 +00:00
4a7a2871ac builder:application.yml:AtClauseOrder: protect '@' by wrapping properties 2017-01-04 20:36:10 +00:00
9b8fea775c builder/pom.xml: configure dependencies 2017-01-04 20:30:20 +00:00
a88c76f519 First pass as splitting distribution from builder 2017-01-04 20:29:26 +00:00
500d90a6c8 builder: stub application 2017-01-03 19:57:43 +00:00
187b4ba3c2 builder/resources/application.yml: extract enabled rules into a configuration 2017-01-01 14:21:54 +00:00