summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
2019-06-02Use JSON output for eslint and fix tsserver columnNils Kuhnhenn
2019-05-29Merge pull request #2529 from maxwell-k/terraform_linterw0rp
Add a terraform linter
2019-05-29#2533 - Run phpcs in the directory the file is inw0rp
2019-05-28Fix java checkstyle handler.Horacio Sanson
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-23Add a terraform linterKeith Maxwell
This linter uses the check functionality built into terraform. ALE already has a fixer using `terraform fmt` but this doesn't provide error messages. ALE already has a linter using `tflint` but this requires an extra application to be installed. For example this linter will give a warning that ! is an illegal character in the line below: variable "example" !{} This linter runs the buffer through the command below and parses the output: terraform fmt -no-color -check=true - This commit includes a basic implementation, documentation and tests. The only option is to control which executable is run. Tested with: $ terraform -version Terraform v0.11.13
2019-05-22Fix eclipse.jdt.ls workspace data path.Horacio Sanson
We were setting the -data parameter to the project root but this caused the language server to fail initialization and synch of gradle dependencies. As consequence ALE failed to work fully on gradle projects. This fix sets the workspace to the parent folder of the project root. Normally this corresponds to the correct Eclipse workspace path. When this is not the case, this fix also allows users to explicitly set the absolute path to the workspace via configuration variable.
2019-05-21Allow running eclipselsp as installed by system package on GNU/Linux (#2523)Grim Kriegor
* Search eclipselsp jar and config files within system package path * Allow setting an alternate eclipselsp configuration directory * Add test for ale_java_eclipselsp_config_path
2019-05-20Close #2359 - Find compile_commands.json in build dirs for cppcheckw0rp
2019-05-20Fix #2421 - Use compile_commands.json in build dirs to find rootsw0rp
2019-05-20Fix #2512 - Use -o /dev/null for gcc lintingw0rp
2019-05-19Add support for Erlang dialyzer (#2509)Antoine Gagné
* Add support for Erlang dialyzer * Add an option to specify rebar3 profile In doing so, the use of the `**` wildcard becomes unnecessary.
2019-05-14Close #908 - Report phpcs problems as style problemsw0rp
2019-05-13Close #791 - Handle exceptions for puglintw0rp
2019-05-13[linter] Add LSP support for LaTeX via texlabrliang
2019-05-10Add phpstan autoload optionMikko Pesari
2019-05-09Add option to show msg id when pylint is used (#2445)Katsuya Horiuchi
* Add python_pylint_use_msg_id to tweak output of pylint * Add test for ale_python_pylint_use_msg_id * Add doc on ale_python_pylint_use_msg_id
2019-05-08Merge pull request #2134 from oaue/masterw0rp
javac linter: fix handling of error messages containing ':' character
2019-05-08Improve eclipselsp jar search logic.Horacio Sanson
- Set default value to $HOME/eclipse.jdt.ls - Make JAR search regexp more specific. - Allow to set the VSCode extensions folder as ale_java_eclipselsp_path.
2019-05-07Escape phpstan arguments, and update documentationw0rp
2019-05-02Add XO as a linter/fixer for TypeScript files (#2453)Alvin Chan
2019-05-01Better phpstan default configuration (#2444)Julien Deniau
* Use phpstan config file as default whenever possible + report as error
2019-04-18Add g:ale_sh_shellcheck_change_directoryFletcher Nichol
2019-04-17#1791 Set the working directory for cabal and stackIan Shipman
2019-04-15Fix #2440 - Fix the kotlinc command when Maven and Gradle are missingw0rp
2019-04-13Merge pull request #2121 from hsanson/1996-add-support-for-eclipse-jdt-lsw0rp
WIP Fix 1996 - Add eclipse LSP support.
2019-04-13Merge pull request #2394 from harttle/masterw0rp
feat: fecs support for js/html/css lint and format
2019-04-13Linter for powershell syntax errors (#2413)Jesse Harris
* Linter for powershell syntax errors
2019-04-11change default value of ale_rust_rls_toolchain and update documentationrobertking
2019-04-11style: fecs related doc and vim scriptsJun Yang
2019-04-11feat: fecs support for js/html/css lint and formatharttle
`fecs` is a lint tool for HTML/CSS/JavaScript, see http://fecs.baidu.com for more options.
2019-04-11Fix 1996 - Add eclipse LSP support.Horacio Sanson
2019-04-10Add a linter for clojure using clj-kondo (#2377)Masashi Iizuka
2019-04-10#2428 Remove deprecated linter options for psscriptanalyzerw0rp
2019-04-10Close #2179 - Add support for goplsw0rp
2019-04-10Adding new linter "cookstyle" for chef recipes (Issue #1187) (#2362)Raphael Hoegger
2019-04-08[lsp] Add Swift / SourceKit-LSP support (#2420)Dan Loman
* [linter] Add LSP support for Swift via sourcekit-lsp
2019-04-07#2132 - Implement feature tests with ale#Hasw0rp
2019-04-07#2132 - Replace command_chain and chain_with with ale#command#Runw0rp
2019-04-02Merge pull request #2340 from svanharmelen/svh/f-gotypew0rp
make `gotype` return all errors
2019-03-29PSScriptAnalyzer (#2370)Jesse Harris
* Added psscriptanalyzer * Added exclusions and documentation * Added PSScriptAnalyzer handler test
2019-03-25Merge pull request #2363 from davidsierradz/masterw0rp
support jsonlint local executable
2019-03-25Merge pull request #2378 from antew/feature/elm-lsp-linterw0rp
Elm: Support for elm-lsp
2019-03-25Use location of `composer.json` for PHP project path too (#2391)Shahin Sorkh
* move php-langserver "test for .git dir" test-project to its own directory * search for composer.json file in php-langserver first then .git dir * add test for php-langserver composer.json
2019-03-21Add support for elm-lspAntew
2019-03-15support jsonlint local executabledavidsierradz
2019-03-12make `gotype` return all errorsSander van Harmelen
When using `gotype` without the `-e` option, it will only output the first 10 errors. When working on a larger package that ofter means taht those 10 errors are in other files then the one that you are currently working on which then seems to indicate that there are no errors. By adding the `-e` flag, all errors will be returned and shown properly in the file that you are working on.
2019-03-11make options for credo configurable (#2337)Adam Trepanier
* Add credo --strict option If a user sets 'let g:ale_elixir_credo_strict=1' it will run credo with --strict instead of suggest. The default (0) is to run as suggest. * Added credo docs
2019-03-09linter/markdown: adds support for languatool (#2155)Vincent Dahmen
2019-03-06Merge pull request #2305 from campbellr/masterw0rp
javac: Don't assume src/main/java always exists
2019-03-05Add lsp_config support for rls (#2332)Nathan Henrie
* Add lsp_config for rls * Add working config example and test