summaryrefslogtreecommitdiff
path: root/test/tflint-test-files
diff options
context:
space:
mode:
authorHoracio Sanson <horacio@allm.net>2019-05-28 17:48:27 +0900
committerHoracio Sanson <horacio@allm.net>2019-05-28 17:48:27 +0900
commit181bc69c8c0b113d8f5b8325f6faf1580d1fadd7 (patch)
treed15187649ea4cbe2bb4447e012e32a47cf52f661 /test/tflint-test-files
parentbb08b81bf719d4c55669c583c65fbe4bbd795501 (diff)
downloadale-181bc69c8c0b113d8f5b8325f6faf1580d1fadd7.zip
Fix java checkstyle handler.
The checkstyle handler is capable of parsing the new and old output formats. Unfortunately there are some particular output messages that matched both the new and old regular expressions: [WARN] whatever:11:7: WhitespaceAround: ''if'' is not followed by whitespace. [WhitespaceAround] This caused ALE to report extra errors since the message was being matched twice, once as a warning and another (incorrect) old formatted error. This MR fixes this by stopping any parsing using the old format regexp is any errors of the new format are correcly parsed. There is no reason to expect checkstyle to output both styles in the same report.
Diffstat (limited to 'test/tflint-test-files')
0 files changed, 0 insertions, 0 deletions