ale/ale_linters
Martino Pilia 771581a945
Add settings for the Alex linter
The executable for the Alex linter is currently hard-coded as 'alex',
which is an issue given the fact that it conflicts with the Haskell
lexer generator, whose executable is also called 'alex', has been around
a dozen years before the linter, and is packaged in the official
repositories of the major Linux distributions.

This commit adds options to use a local executable for the alex linter
(which is a node package), and an option to set a custom executable.

As side changes:
* The pattern in the alex handler is made more readable by turnig it
  into a very-magic regex.
* Alex handles plain text, markdown, and HTML. Specific flags for HTML
  and markdown are provided when instantiating the linters for the
  respective filetypes, while before those formats were treated as plain
  text.
2019-02-02 16:20:14 +01:00
..
ada #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
ansible Allow custom executable for ansible linters (#1977) 2018-10-18 09:19:27 +01:00
apiblueprint Improve ALE project style checking 2018-09-04 16:51:18 +01:00
asciidoc Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
asm Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
awk Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
bib Add bibclen fixer support 2018-12-01 15:05:18 +09:00
c Do not enable all clang-tidy checks by default 2018-10-30 11:46:53 +01:00
chef Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
clojure Improve ALE project style checking 2018-09-04 16:51:18 +01:00
cloudformation Make CloudFormation linter work again with latest 2018-06-20 14:59:51 +02: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 Do not enable all clang-tidy checks by default 2018-10-30 11:46:53 +01:00
crystal Set lint_file for the ameba linter 2019-01-27 16:16:22 +00:00
cs #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
css Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
cucumber Improve ALE project style checking 2018-09-04 16:51:18 +01:00
cuda #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
d New linter: dls (#1992) 2018-10-17 16:11:41 +01:00
dafny Improve ALE project style checking 2018-09-04 16:51:18 +01:00
dart Fix the dart language server command and cover it with tests 2018-09-04 11:15:59 +01:00
dockerfile Add the dockerfile_lint linter for Dockerfiles (#1971) 2018-10-26 17:34:32 +01:00
elixir #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
elm Pass --compiler flag to elm-test when linting 0.19 tests 2019-01-19 22:22:10 +01:00
erlang #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
eruby Add initial support for ruumba in eruby files. 2018-11-04 19:55:06 +13:00
fish Fix #1373 - Fix a bug with Fish errors not being handled on Linux 2018-03-23 12:17:54 +00:00
fortran Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
fountain Add four spaces, not tabs. 2017-12-20 22:53:03 -06:00
fuse Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
gitcommit gitcommit: fully implement warn_about_trailing_whitespace 2018-08-30 03:42:44 +02:00
glsl Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
go Add support for bingo (#2165) 2019-01-05 19:12:55 +00:00
graphql changed gqlint to lint the file on disk 2018-12-18 18:59:02 +09:00
hack Tell HHAST to only look at open files 2018-08-02 14:23:03 -07:00
haml Allow configuration of hamllint executable (#2048) 2018-11-04 10:35:21 +00:00
handlebars Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
haskell Add haskell_stack_ghc_options like …_cabal_ghc_… 2019-01-22 09:46:08 -05:00
help Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
html Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
idris Improve ALE project style checking 2018-09-04 16:51:18 +01:00
ispc Add --nowrap to ispc options 2018-11-21 10:40:07 +01:00
java #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
javascript Fix #2263 - detailed Flow errors should show the original message 2019-02-01 13:01:56 +00:00
json Improve ALE project style checking 2018-09-04 16:51:18 +01:00
julia Support both old (<0.7) and new Julia versions 2018-09-19 07:34:11 -07:00
kotlin Add ktlint fixer support. 2019-01-20 19:39:47 -06:00
less Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
llvm Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
lua Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
mail Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
make Improve ALE project style checking 2018-09-04 16:51:18 +01:00
markdown Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
matlab Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
mercury Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
nasm Fixed NASM linter from outputting junk file 2018-09-10 08:17:44 +10: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 Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
objc Move ccls functions to autoload/ale/handler 2018-09-28 03:26:57 +08:00
objcpp Improve ALE project style checking 2018-09-04 16:51:18 +01:00
ocaml Close #542 - Add an option for disabling running locally installed executables by default 2018-04-09 19:11:20 +01:00
perl Use non-greedy matching instead of looking for the comma 2018-12-16 17:01:24 -05:00
perl6 Fix crashes with incomplete errors 2018-10-03 14:13:34 -07:00
php php: change phpstan's --errorFormat to --error-format (#2005) 2018-11-23 09:39:50 +00: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 Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
prolog Add prolog swipl linter (#1979) 2018-10-26 17:29:17 +01:00
proto Make it possible to inject flags of protoc invocation. 2018-01-07 17:56:56 +01:00
pug Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
puppet Improve ALE project style checking 2018-09-04 16:51:18 +01:00
pyrex Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
python Merge pull request #2207 from pmacosta/master 2019-01-27 11:01:14 +00:00
qml Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
r Use --vanilla switch for Rscript 2018-06-07 15:06:09 +02:00
racket Racket linting using raco (#2146) 2019-01-14 19:45:33 +00:00
reason Close #542 - Add an option for disabling running locally installed executables by default 2018-04-09 19:11:20 +01:00
review redpen support for asciidoc, reST, LaTeX and Re:VIEW 2017-11-17 15:34:07 +09:00
rst Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
ruby Adds standardrb linter (#2133) 2018-12-10 14:02:32 -07:00
rust Add support for cargo clippy (#2001) 2018-10-22 09:21:48 +01:00
sass refactor sasslint linter (#2077) 2018-12-06 11:23:31 -07:00
scala Revert "Merge pull request #2083 from zackhsi/scalac-until-jvm" 2018-12-03 20:39:10 +00:00
scss refactor sasslint linter (#2077) 2018-12-06 11:23:31 -07:00
sh Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
slim #852 - Capture error codes for slim-lint 2017-11-19 01:08:20 +00:00
sml Improve ALE project style checking 2018-09-04 16:51:18 +01:00
solidity Improve ALE project style checking 2018-09-04 16:51:18 +01:00
spec Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +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 Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
sugarss SugarSS support from PR 1967 (#2219) 2019-01-27 11:42:11 +00:00
swift Add support for Pod based SwiftLint (#2122) 2018-12-07 15:20:58 -07:00
tcl Improve ALE project style checking 2018-09-04 16:51:18 +01:00
terraform Improve ALE project style checking 2018-09-04 16:51:18 +01:00
testft Add support for dot-seperate linters, improve linter tests 2016-10-21 21:02:20 -05:00
tex Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
texinfo Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
text Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
thrift #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
typescript Fix #1781 - Fix me breaking the tsserver linter 2018-08-03 17:22:09 +01:00
verilog Add VHDL Support & Newer Verilog Linters (#2229) 2019-01-27 09:46:33 +00:00
vhdl Add VHDL Support & Newer Verilog Linters (#2229) 2019-01-27 09:46:33 +00:00
vim #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
vue Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
xhtml Add settings for the Alex linter 2019-02-02 16:20:14 +01:00
xml Improve ALE project style checking 2018-09-04 16:51:18 +01:00
yaml Simplify the code for most linters and tests with closures 2018-08-02 23:44:12 +01:00
yang Improve ALE project style checking 2018-09-04 16:51:18 +01:00