ale/ale_linters
Jon Parise c2c6c9f491 Fix Credo's line-matching pattern (#360)
* Fix Credo's line-matching pattern

In d3e7d3d5, the line matching pattern was changed to handle filenames
other than `stdin`. Unfortunately, this broke the pattern's ability to
reliably extract both line and column numbers because the latter is an
optional match and the filename portion was very greedy. This resulted
in line numbers being discarded (treated as part of the filename) and
column numbers being interpreted as line numbers.

This change simplifies the pattern to only anchor on the line's suffix,
ignoring the filename portion entirely.

Alternatively, we could use vim's `\f` ("file name characters") class,
but that could still run into problems when `:`'s naturally appear in
the filename.

* Add a Vader test case for the Credo handler
2017-02-22 23:33:05 +00:00
..
ansible Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
c Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
chef Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
coffee add support for locally installed coffee 2017-02-02 17:03:26 -08:00
cpp Fix clang++ flag typo. 2017-02-16 18:12:41 +01:00
cs Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
css Add stylelint option to pass in more options 2017-02-12 09:25:40 +03:00
d Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
dockerfile Dockerfile linting via hadolint (#282) 2017-01-30 15:27:26 +00:00
elixir Fix Credo's line-matching pattern (#360) 2017-02-22 23:33:05 +00:00
elm Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
erlang Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
fortran Update line marker pattern for new gfortran 2017-02-14 14:31:31 +01:00
go Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
haskell Add hdevtools linter for haskell 2017-02-17 17:18:38 +00:00
html Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
java Fix the custom check issue. 2017-02-11 22:06:20 +00:00
javascript Fix #246 Don't run flow if there's no .flowconfig 2017-02-10 22:47:56 +00:00
json Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues. 2017-01-22 14:54:57 +00:00
lua Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues. 2017-01-22 14:54:57 +00:00
markdown Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
matlab Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
ocaml Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues. 2017-01-22 14:54:57 +00:00
perl Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues. 2017-01-22 14:54:57 +00:00
php PHP: Make parser work with more error messages 2017-02-18 00:51:33 +01:00
pug Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
puppet Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
pyrex Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
python Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
ruby Update comments for RuboCop pattern 2017-02-06 15:13:13 +09:00
rust Cover the Rust handler with some tests 2017-02-07 21:17:10 +00:00
sass Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
scala Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
scss Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
sh Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues. 2017-01-22 14:54:57 +00:00
sml Add sml support via smlnj 2017-02-18 00:05:33 -02:00
swift Fix SwiftLint 2017-01-17 19:59:45 +01:00
testft Add support for dot-seperate linters, improve linter tests 2016-10-21 21:02:20 -05:00
tex Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
text Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
typescript escape dot in maker regex (#357) 2017-02-21 20:32:37 +00:00
verilog Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
vim Replace every stdin-wrapper script with the new %t formatting support 2017-02-11 19:40:57 +00:00
yaml Fix 'yamllint' syntax 2017-02-16 00:58:48 +03:00