ale/ale_linters
Olaf Alders 8a77290553 [WIP] Begin to distinguish between Perl warnings and errors (#933)
* If a Perl script compiles, there are only warnings and no errors

* Let the first Perl error or warning win.

Take the following example:

***

sub foo {
    my $thing;

***

This might have the following messages when we compile it:

Missing right curly or square bracket at warning.pl line 7, at end of
line
syntax error at warning.pl line 7, at EOF
warning.pl had compilation errors.

With the current behaviour, we just get a "syntax error" message, which
isn't all that helpful.  With this patch we get "Missing right curly or
square bracket".

* Fix variable scope and pattern matching syntax

* Use named variable to enhance clarity when matching Perl output

* Add more tests for Perl linter

* Remove unnecessary parens

* Simplify check for pattern match
2018-03-02 21:04:52 +00:00
..
ansible Fix #1216 - Suppress trailing whitespace warings for ansible-lint when the option is set 2017-12-13 11:14:31 +00:00
apiblueprint Add drafter for checking API Blueprint files (#1152) 2017-11-20 10:57:13 +00:00
asciidoc Make alex a file linter 2017-12-18 15:26:52 +01:00
asm add ale_asm_gcc_executable option (#1138) 2017-11-17 10:02:30 +00:00
awk Support for GNU Awk linting (#638) 2017-06-08 18:26:21 +01:00
c New linter: Flawfinder (#1361) 2018-02-25 14:11:04 +00:00
chef #1151 - Overhaul the foodcritic linter for checking files on disk 2017-11-21 13:38:33 +00:00
clojure add joker handler for clojure 2017-11-15 22:23:46 +00:00
cmake Break shared handlers up into their own files, and fix stylelint error handling 2017-04-24 22:27:18 +01:00
coffee Ban use of ==# or ==? in the codebase, and prefer is# or is? instead 2017-08-08 08:39:13 +01:00
cpp New linter: Flawfinder (#1361) 2018-02-25 14:11:04 +00:00
crystal #810 - Handle output which is not JSON in many linters 2017-07-27 00:45:25 +01:00
cs Try to fix it again 2018-03-02 20:57:55 +00:00
css Refactor running of local Node programs with a helper function 2017-05-27 17:11:03 +01:00
cuda Add cuda nvcc linter (#874) 2017-09-07 19:23:58 +01:00
d Ban use of ==# or ==? in the codebase, and prefer is# or is? instead 2017-08-08 08:39:13 +01:00
dafny ale_linters/dafny: lint only saved files 2017-11-08 09:28:24 -08:00
dart Add dart LSP (resolves #1006) 2017-11-07 10:55:43 +02:00
dockerfile Added tests for hadolint 2018-01-29 22:21:50 +01:00
elixir Add Elixir linter for dialyxir (#1257) 2018-01-22 12:21:07 +00:00
elm Fix Elm linter for Windows (resolves #980) 2017-10-06 17:26:50 -04:00
erlang windows compatible warning match pattern for erlc (#1071) 2017-11-03 18:56:34 +00:00
eruby Merge pull request #1157 from elebow/eruby-add-erubi-linter 2018-01-24 10:40:57 +00:00
fish Support for fish file linting 2017-12-26 12:25:17 -06:00
fortran Ban use of ==# or ==? in the codebase, and prefer is# or is? instead 2017-08-08 08:39:13 +01:00
fountain Add four spaces, not tabs. 2017-12-20 22:53:03 -06:00
fuse Add fusion-lint, documentation, and tests (#648) 2017-06-14 09:35:11 +01:00
gitcommit Make the error codes configurable for gitlint 2017-12-20 10:46:08 +00:00
glsl Add glslls (#1179) 2017-12-01 17:36:44 +00:00
go Merge pull request #1351 from svanharmelen/f-issue-936 2018-02-25 11:54:05 +00:00
graphql Add support for linting GraphQL with ESLint 2017-11-27 14:41:49 +00:00
haml Fix indentation for the haml-lint file 2017-10-25 23:07:38 +01:00
handlebars Fix #1240 - Parse line and column numbers for fatal embertemplatelint errors 2017-12-19 17:42:51 +00:00
haskell haskell_ghc_options are now added to the ghc command 2018-01-01 22:21:21 -06:00
help Make alex a file linter 2017-12-18 15:26:52 +01:00
html Fix #1038 - Automatically detect and use htmlhint configuration files 2018-01-28 12:44:42 +00:00
idris Add linter for Idris (#838) 2017-08-10 21:09:58 +01:00
java Fix #859 Include test and jaxb Java source paths when available 2017-11-20 18:54:57 +00:00
javascript Fix #1246 - Newer ESLint outputs to stderr 2018-01-20 03:20:13 +01:00
json Add a function for getting matches, and use it to simplify a lot of code 2017-04-18 00:35:53 +01:00
kotlin Ban !=# and !=? from the codebase 2017-08-11 00:31:42 +01:00
less Fix #510 Support checking LESS files with stylelint 2017-11-12 12:09:19 +00:00
llvm Add llc integration for LLVM IR (#979) 2017-10-10 10:13:09 +01:00
lua Add a luac linter for Lua 2018-01-08 23:32:02 +08:00
mail Make alex a file linter 2017-12-18 15:26:52 +01:00
make #852 Capture error codes for checkmake 2017-11-16 00:58:33 +02:00
markdown Make alex a file linter 2017-12-18 15:26:52 +01:00
matlab Ban use of ==# or ==? in the codebase, and prefer is# or is? instead 2017-08-08 08:39:13 +01:00
nim #852 - Capture error codes for nimcheck 2017-11-19 00:38:00 +00:00
nix Add a function for getting matches, and use it to simplify a lot of code 2017-04-18 00:35:53 +01:00
nroff Make alex a file linter 2017-12-18 15:26:52 +01:00
objc add clang for objc and objcpp 2017-05-20 00:58:09 +08:00
objcpp add clang for objc and objcpp 2017-05-20 00:58:09 +08:00
ocaml Add ocaml-language-server for OCaml and ReasonML 2017-11-11 19:27:41 +01:00
perl [WIP] Begin to distinguish between Perl warnings and errors (#933) 2018-03-02 21:04:52 +00:00
php Fix PHP linter to support PHP 7.2 lint output 2017-12-13 21:23:18 +00:00
po add po support with proselint, writegood, msgfmt and alex 2018-01-27 12:17:15 +00:00
pod Make alex a file linter 2017-12-18 15:26:52 +01:00
pony Escape the ponyc executable 2018-02-18 10:06:40 +00:00
proto Make it possible to inject flags of protoc invocation. 2018-01-07 17:56:56 +01:00
pug Make pug-lint detect node_modules executables, and add options for pug-lint like the other linters 2017-06-29 11:40:03 +01:00
puppet Puppet: allow for when parser doesn't supply column for errors (#1182) 2017-12-02 12:29:17 +00:00
pyrex Break shared handlers up into their own files, and fix stylelint error handling 2017-04-24 22:27:18 +01:00
python #476 Make F401 a warning and E112 a syntax error 2018-02-18 09:44:04 +00:00
r Removed trailing whitespaces 2018-02-05 11:33:23 -08:00
reason Add ocaml-language-server for OCaml and ReasonML 2017-11-12 10:56:53 +00:00
review redpen support for asciidoc, reST, LaTeX and Re:VIEW 2017-11-17 15:34:07 +09:00
rst Make alex a file linter 2017-12-18 15:26:52 +01:00
ruby Fix #1168 - Make the ruby linter executable configurable 2017-11-28 09:48:35 +00:00
rust Teach ALE about cargo features and add some configuration options 2018-01-11 19:24:44 -08:00
sass Refactor running of local Node programs with a helper function 2017-05-27 17:11:03 +01:00
scala #977 Complain about the lack of configuration files for scalastyle in such a way that users will be directed towards getting it to work 2017-10-15 00:20:43 +01:00
scss Ban use of ==# or ==? in the codebase, and prefer is# or is? instead 2017-08-08 08:39:13 +01:00
sh #852 Capture error codes for shellcheck 2017-11-15 17:26:52 +00:00
slim #852 - Capture error codes for slim-lint 2017-11-19 01:08:20 +00:00
sml Fix an SML variable init bug, and get the SML cm file tests to pass on Windows 2017-09-10 00:20:05 +01:00
solidity Extract error code from message 2017-12-05 16:02:15 -03:00
spec Add rpm spec file linter (rpmlint) (#486) 2017-04-19 23:40:58 +01:00
sql Add a function for getting matches, and use it to simplify a lot of code 2017-04-18 00:35:53 +01:00
stylus Fix #178 - Check Stylus files with stylelint 2017-07-03 16:57:39 +01:00
swift #852 - Capture error codes for swiftlint 2017-11-19 13:33:20 +00:00
tcl Ban use of ==# or ==? in the codebase, and prefer is# or is? instead 2017-08-08 08:39:13 +01:00
terraform #852 - Capture error codes for tflint 2017-11-19 13:37:56 +00:00
testft Add support for dot-seperate linters, improve linter tests 2016-10-21 21:02:20 -05:00
tex Make alex a file linter 2017-12-18 15:26:52 +01:00
texinfo Make alex a file linter 2017-12-18 15:26:52 +01:00
text Make alex a file linter 2017-12-18 15:26:52 +01:00
thrift Add a linter for Apache Thrift IDL files 2017-08-30 11:08:06 -07:00
typescript Fix #1210 - Do not report this file as a temporary file in the quickfix list for TSLint 2017-12-10 09:58:33 +00:00
verilog Make options configurable for iverilog (#1143) 2017-11-19 22:59:17 +00:00
vim Simplfy semver handling and share the semver version cache across everything 2017-11-12 10:56:53 +00:00
xhtml Make alex a file linter 2017-12-18 15:26:52 +01:00
xml Add xmllint linter (#559) 2017-05-18 09:31:12 +01:00
yaml #852 - Capture error codes for swaglint 2017-11-19 12:46:06 +00:00