ale/ale_linters
Horacio Sanson 181bc69c8c 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.
2019-05-28 17:48:27 +09:00
..
ada #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
ansible #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
apiblueprint Improve ALE project style checking 2018-09-04 16:51:18 +01:00
asciidoc #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
asm Fix #2512 - Use -o /dev/null for gcc linting 2019-05-20 13:00:32 +01:00
awk #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
bib #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
c Close #2359 - Find compile_commands.json in build dirs for cppcheck 2019-05-20 22:08:03 +01:00
chef Adding new linter "cookstyle" for chef recipes (Issue #1187) (#2362) 2019-04-10 18:52:52 +01:00
clojure Add a linter for clojure using clj-kondo (#2377) 2019-04-10 20:59:58 +01:00
cloudformation Make CloudFormation linter work again with latest 2018-06-20 14:59:51 +02:00
cmake #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
coffee #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
cpp Close #2359 - Find compile_commands.json in build dirs for cppcheck 2019-05-20 22:08:03 +01:00
crystal #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
cs #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
css style: fecs related doc and vim scripts 2019-04-11 16:24:59 +08:00
cucumber #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
cuda #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
cypher Make Cypher linter dynamic 2019-02-06 20:29:58 -02:00
d #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
dafny Improve ALE project style checking 2018-09-04 16:51:18 +01:00
dart #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
dockerfile #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
elixir #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
elm Add support for elm-lsp 2019-03-21 02:55:49 -04:00
erlang Add support for Erlang dialyzer (#2509) 2019-05-19 21:16:17 +01:00
eruby #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
fish Fix #1373 - Fix a bug with Fish errors not being handled on Linux 2018-03-23 12:17:54 +00:00
fortran #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
fountain
fuse #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
gitcommit #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
glsl #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
go Close #2179 - Add support for gopls 2019-04-10 19:23:16 +01:00
graphql #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
hack #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
haml #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
handlebars #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
haskell #1791 Set the working directory for cabal and stack 2019-04-17 14:26:09 +01:00
help Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
html style: fecs related doc and vim scripts 2019-04-11 16:24:59 +08:00
idris #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
ispc #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
java Fix java checkstyle handler. 2019-05-28 17:48:27 +09:00
javascript feat: fecs support for js/html/css lint and format 2019-04-11 16:24:58 +08:00
json support jsonlint local executable 2019-03-15 16:21:48 -05:00
julia #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
kotlin Fix #2440 - Fix the kotlinc command when Maven and Gradle are missing 2019-04-15 13:36:03 +01:00
less #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
llvm #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
lua #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
mail linter/markdown: adds support for languatool (#2155) 2019-03-09 13:55:54 +00:00
make Improve ALE project style checking 2018-09-04 16:51:18 +01:00
markdown linter/markdown: adds support for languatool (#2155) 2019-03-09 13:55:54 +00:00
matlab #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
mercury #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
nasm #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
nim #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
nix
nroff Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
objc Fix #2421 - Use compile_commands.json in build dirs to find roots 2019-05-20 19:57:08 +01:00
objcpp Fix #2421 - Use compile_commands.json in build dirs to find roots 2019-05-20 19:57:08 +01:00
ocaml #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
perl #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
perl6 #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
php Close #908 - Report phpcs problems as style problems 2019-05-14 22:58:58 +01:00
po Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
pod Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
pony #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
powershell Linter for powershell syntax errors (#2413) 2019-04-13 12:24:56 +01:00
prolog #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
proto #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
pug Close #791 - Handle exceptions for puglint 2019-05-13 21:57:44 +01:00
puppet #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
pyrex #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
python Add option to show msg id when pylint is used (#2445) 2019-05-09 17:28:18 +01:00
qml #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
r #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
racket Racket linting using raco (#2146) 2019-01-14 19:45:33 +00:00
reason #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
review
rst #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
ruby #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
rust change default value of ale_rust_rls_toolchain and update documentation 2019-04-11 23:05:59 +08:00
sass #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
scala #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
scss #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
sh Add g:ale_sh_shellcheck_change_directory 2019-04-18 16:48:10 -06:00
slim #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
sml #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
solidity Improve ALE project style checking 2018-09-04 16:51:18 +01:00
spec #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
sql
stylus #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
sugarss #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
swift [lsp] Add Swift / SourceKit-LSP support (#2420) 2019-04-08 16:25:30 +01:00
tcl #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
terraform #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
testft
tex [linter] Add LSP support for LaTeX via texlab 2019-05-13 15:50:03 -03:00
texinfo Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
text linter/markdown: adds support for languatool (#2155) 2019-03-09 13:55:54 +00:00
thrift #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
typescript Add XO as a linter/fixer for TypeScript files (#2453) 2019-05-02 11:59:18 +01:00
verilog #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
vhdl #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
vim #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
vue #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
xhtml Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
xml #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
yaml #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00
yang #2132 - Replace all uses of foo_callback with foo 2019-02-22 18:05:04 +00:00