summaryrefslogtreecommitdiff
path: root/test/handler
AgeCommit message (Collapse)Author
2019-03-29#2395 - Handle empty output for redpenw0rp
2019-03-29PSScriptAnalyzer (#2370)Jesse Harris
* Added psscriptanalyzer * Added exclusions and documentation * Added PSScriptAnalyzer handler test
2019-03-09linter/markdown: adds support for languatool (#2155)Vincent Dahmen
2019-03-02set correct Rust span end columnJean Mertz
The Rust compiler returns the first column that is _not_ part of the current span as `column_end`, while Ale expects `end_col` to signify the last column of the span.
2019-02-12pylama: Use %s instead of %tKevin Locke
Although using %t to lint changes was desirable, many pylama checks use surrounding paths and file contents (e.g. C0103 module name, E0402 relative import beyond top, etc.) The more such errors I find during testing, the less %t seems like a good idea. Switch to %s. Also set `lint_file` to 1 and mark Pylama as a file linter in the docs. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-08Support pylama for python (#2266)Kevin Locke
* Add pylama for python * Consolidate python traceback handling
2019-02-03linter/cypher: add cypher-lintFrancisco Lopes
2019-02-01Fix #2263 - detailed Flow errors should show the original messagew0rp
2019-01-27Add initial ameba (crystal linter) support (#2174)Harrison Bachrach
* Add initial ameba (crystal linter) support Note that this depends on saved file as `ameba` does not have STDIN support * Fix formatting of crystal linter documentation * Add tests for ameba executable customization
2019-01-27Merge pull request #2228 from Nomad145/ktlintw0rp
Add ktlint Fixer Support
2019-01-27Fix #2192 - Handle more ignore-pattern messages for ESLintw0rp
2019-01-27Merge pull request #2207 from pmacosta/masterw0rp
Fixed parsing of pydocstyle errors
2019-01-27Merge pull request #2215 from irwand/masterw0rp
support older flake8 output, still used by hacking module from openstack style guide
2019-01-27Add VHDL Support & Newer Verilog Linters (#2229)John Gentile
* Added VHDL file support with ghdl compiler * Update ghdl.vim * Create vcom.vim * Create xvhdl.vim * Update xvlog.vim * Added documentation for VHDL & Verilog linters * Added tests to VHDL & Verilog linters
2019-01-26Add bandit linter for PythonMartino Pilia
2019-01-20Add ktlint fixer support.Michael Phillips
2019-01-16added hacking compatibility testIrwan Djajadi
2019-01-14Fixed parsing of pydocstyle errorsPablo Acosta-Serafini
ale#Escape function seems to prepend and append ' to the file name, which are not present in the pydocstyle output. Having the parsing regexp match the file name was overkill anyway, since there is an obvious 1:1 correspondence between the buffer number and the (potential) errors reported by pydocstyle.
2019-01-14Racket linting using raco (#2146)Anthony Quizon
2018-12-20Merge pull request #2150 from mvgrimes/perl-linter-data-fixw0rp
Update the perl-linter's l:pattern to catch missing errors
2018-12-19Adds tests for perl-linter where a second file/line is included in errorMark Grimes
2018-12-16Merge pull request #2136 from ↵w0rp
hsanson/368-chktex-latex-report-errors-from-wrong-file Fix 368 - Lacheck reports errors from input{} files.
2018-12-11Add tests to lacheck linterHoracio Sanson
2018-12-10Adds standardrb linter (#2133)Justin Searls
See: https://github.com/testdouble/standard StandardRB is to RuboCop what StandardJS is to ESLint. This commit naively copies the RuboCop linter and fixer to point at the standardrb executable. Any other adjustments are very minor (the only I can think of is that standardrb takes a `--fix` option instead of `--auto-correct`). This raises a confusing point to me as both developer and a user: since ale enables all linters by default, won't this run both RuboCop and StandardRB (the results of which will almost always be in conflict with one another)? How does ale already solve for this for the similar case of StandardJS and ESLint?
2018-12-06Merge pull request #2061 from hsanson/1910-add-support-for-bibclean-fixerw0rp
Add bibclean fixer support
2018-12-06Add support for pydocstyle linter (#2085)pmacosta
The linter can correctly parse pydocstyle output with any of the following command-line options enabled: --explain, --source, --debug, and/or --verbose
2018-12-01Add bibclen fixer supportHoracio Sanson
Closes #1910
2018-11-22Fix unit testsMarius Gedminas
2018-11-21Merge pull request #2068 from m-pilia/ispcw0rp
Add linter for ispc
2018-11-21Add --nowrap to ispc optionsMartino Pilia
2018-11-18Add GCC linter for AdaMartino 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