summaryrefslogtreecommitdiff
path: root/test/handler
AgeCommit message (Collapse)Author
2018-11-21Add --nowrap to ispc optionsMartino Pilia
2018-11-11Add linter for ispcMartino Pilia
2018-11-07Support older checkstyle versionsJohannes Wienke
The output format used by older checkstyle versions differs from the one of new versions. This commit adds a second parsing iteration on the output lines with a suitable pattern to support both versions in parallel. Due to the differences in the order of matching groups this is hard to achieve in a single pass through the output lines. An appropriate test case is added.
2018-10-26Add the dockerfile_lint linter for Dockerfiles (#1971)Alexander "Ananace" Olofsson
* Add the dockerfile_lint linter for Dockerfiles
2018-10-26Add prolog swipl linter (#1979)Takuya Fujiwara
* add prolog/swipl linter * use load_files/2 instead of read_term/2 Because it also checks some semantic warnings / errors not only syntactic warnings / errors. e.g.: * singleton warning * discontiguous warning * ... cf. http://www.swi-prolog.org/pldoc/doc_for?object=style_check/1 * support error messages with no line number :- module(module_name, [pred/0]). causes ERROR: Exported procedure module_name:pred/0 is not defined * add test for prolog/swipl handler * cosmetic fixes * detect timeout using SIGALRM * rename g:prolog_swipl_goals to g:prolog_swipl_load * write doc for prolog/swipl linter * update toc and README * fix ignore patterns
2018-10-26Rust checker: allow secondary spans to be ignored (#1696)Dan Aloni
* Rust checker: allow secondary spans to be ignored * test/handler/test_rust_handler.vader: Add tests for g:ale_rust_ignore_secondary_spans
2018-10-25Merge pull request #1958 from Garland-g/perl6w0rp
Add Perl6 support via 'perl6 -c'
2018-10-19Add tests for updated Psalm pluginMatt Brown
2018-10-11Fix Credo message types (#1963)Filip Vavera
* Add more Credo message types * Add tests
2018-10-03Fix crashes with incomplete errorsTravis Gibson
2018-10-02Fix PMD not working with classes without packageDiego Lemos
PMD is currently not working properly for Java classes that use [unnamed packages](https://docs.oracle.com/javase/specs/jls/se11/html/jls-7.html#jls-7.4.2). Consider the following Java class that does not contain a `package` declaration: ```java public class App { String getGreeting() { return "Hello world."; } static void main(String... args) { System.out.println(new App().getGreeting()); } } ``` Running PMD in the command line agaist the Java class above produces an output with empty string `""` in the `"Package"` column: ```sh $ pmd -R category/java/bestpractices.xml -f csv -d './src/main/java/App.java' Oct 02, 2018 9:10:39 PM net.sourceforge.pmd.PMD processFiles WARNING: This analysis could be faster, please consider using Incremental Analysis: https://pmd.github.io/pmd-6.7.0/pmd_userdocs_incremental_analysis.html "Problem","Package","File","Priority","Line","Description","Rule set","Rule" "1","","/Users/diego/Projects/github.com/dlresende/kata-fizz-buzz/src/main/java/App.java","2","7","System.out.println is used","Best Practices","SystemPrintln" ``` But the pmd.vim handler's current pattern refuses everything coming from a Java class that does not have a package name (2nd column): ```vim let l:pattern = '"\(\d\+\)",".\+","\(.\+\)","\(\d\+\)","\(\d\+\)","\(.\+\)","\(.\+\)","\(.\+\)"$' ``` The solution I am proposing is to also accept empty strings as package names.
2018-09-28Add Perl6 support via 'perl6 -c'Travis Gibson
2018-09-28Add better support for Haskell stack compiler tools (#1851)Evan Borden
* Add better support for Haskell stack compiler tools This commit adds support for `stack` as the executable of a tool. This follows a pattern that has been implemented for `bundler`'s tool chain. * Move hlint command to linter file * Add vader test for stack exec handling * Update ghc-mod to support stack execution `ghc-mod` was previously broken into 2 linters. 1. ghc_mod 2. stack_ghc_mod This additional linter is not necessary with proper support for executable variables and `stack exec` handling. * Support stack exec in hfmt * Support stack in hdevtools
2018-09-27Add psalm linter for PHP (#1893)Richard Marmorstein
2018-09-17Handle failing to connect to eslint_dw0rp
2018-09-06Add golangci-lint (#1890)Sascha Grunert
2018-09-06Fix #1866 - Handle empty output from Perlw0rp
2018-08-30gitcommit: fully implement warn_about_trailing_whitespaceCyril Roelandt
Fixes #1761
2018-08-02Include the error in the detailed error message in the GCC handlerw0rp
2018-07-30Indicate that a C compiler failed due to problems in a header filew0rp
2018-07-26Add support for 'vulture' for PythonYauhen Kirylau
2018-07-12Fix #1716 - Replace tempdir() with a wrapper to preserve TMPDIRw0rp
2018-07-01Respect ale_warn_about_trailing_whitespace for yamllintw0rp
2018-07-01Capture error codes for yamlllintw0rp
2018-07-01Add tests for the yamllint handlerw0rp
2018-06-27Merge pull request #1675 from nicopauss/masterw0rp
Improve pyrex cython linter.
2018-06-27Merge pull request #1682 from fennerm/fix_prospector_e474w0rp
Fix prospector empty string error
2018-06-26Fix prospector empty string errorFenner Macrae
Prospector linter is raising error when no warnings are present in file (#1680). Copied fix from #779.
2018-06-25Handle cython warning with custom handle and remove '--warning-errors'.Nicolas Pauss
Add a custom handler to support cython warning format. Remove '--warning-errors' to keep previous behaviour.
2018-06-20Merge pull request #1665 from ashemedai/masterw0rp
Make CloudFormation linter work again with latest version
2018-06-20Merge pull request #1618 from colbydehart/masterw0rp
[new linter] Add mix linter for elixir
2018-06-20Update test to match update to linterJeroen Ruigrok van der Werven
Also make lnum and col proper strings, since that is how it is matched by the regexp, ALE handles the conversion to number.
2018-06-13Add end_lnum and end_col in cfn_python_lint handleryasuhiroki
2018-06-12Add linter for AWS CloudFormation template fileyasuhiroki
2018-06-03Respect warn_about_trailing_whitespace for gitlintw0rp
2018-06-02handled temp file and env variable correctly; added testsColby Dehart
2018-06-02Merge pull request #1617 from luitzifa/masterw0rp
Fix for puppet version >= 5.4.0
2018-05-29Fix for puppet version 5.4.0Daniel Kraemer
i don't know of any version lower than 5.4.0
2018-05-26Merge pull request #1574 from hecrj/elm-0.19w0rp
Support Elm 0.19
2018-05-15Fix #1584 - Make duplicate msgfmt messages easier to navigatew0rp
2018-05-15Make Elm linter backwards compatible with Elm 0.18Héctor Ramón Jiménez
2018-05-12Show Elm.Kernel as location when `report.path` is `null` in a general problemHéctor Ramón Jiménez
2018-05-12Use `message` as `text` instead of `title`Héctor Ramón Jiménez
`title` does not contain much information which forces to use :ALEDetail most of the time
2018-05-11Test global problems and imported module errorsHéctor Ramón Jiménez
2018-05-11Upgrade Elm linter to support 0.19 error reportsHéctor Ramón Jiménez
2018-05-09Merge pull request #1563 from IngoHeimbach/fix/gcc-fatal-errorw0rp
Fatal GCC errors are handled as errors not warnings
2018-05-09Fatal GCC errors are handled as errors not warningsIngo Heimbach
2018-05-04smallfixØyvind Ingvaldsen
2018-05-04Added NASM linterØyvind Ingvaldsen
Added NASM linter (for nasm filetype).
2018-04-20Add cucumber checker for cucumber filesEddie Lebow
For now, it only detects undefined steps. The nearest `features` dir above the buffer file is loaded, so step definitions should be found correctly. Tested only with Cucumber for Ruby, but it should work for any cucumber that follows a substantially similar directory structure.