summaryrefslogtreecommitdiff
path: root/test/handler
AgeCommit message (Collapse)Author
2017-07-17Add yaml swaglint linter (#771)Matthew Turland
* Add yaml swaglint linter
2017-07-16Add SyntaxErl linterDmitri Vereshchagin
These changes add [SyntaxErl][1] integration. SyntaxErl is a syntax checker tool for Erlang. [1]: https://github.com/ten0s/syntaxerl
2017-07-13Add scalastyle linter (#766)Kevin Kays
* Add support for scalastyle * Add scalastyle docs * scalastyle support for column numbers * off by one column * Add tests for scalastyle command and handler * update readme for scalastyle * allow full scalastyle options instead of just config file * fix indentation * allow scalastyle config file in parent directories by a couple names. * check for missing match args with empty * remove echo * use a for loop
2017-07-13#769 Ignore stderr output and output without JSON we can read for rubocopw0rp
2017-07-12Rubocop: handle empty 'files' array in outputEddie Lebow
The handler previously assumed there would be at least one entry in the 'files' array in the output JSON. It looks like this in the normal case: "files":[{"path":"app/models/image.rb","offenses":[]}] But if RuboCop's config excludes the specified input files, causing no files to be linted, the output is emptier: "files":[] This change causes the handler to treat that case correctly, and also exit early if the reported offense_count is zero.
2017-07-12Fix #760 - Report problems with configuration files for rubocopw0rp
2017-07-12Add rails_best_practices handler (resolves #655) (#751)Eddie Lebow
* Move FindRailsRoot() to more general location * Add rails_best_practices handler (resolves #655) * Update documentation for rails_best_practices Also add brakeman to *ale* documentation. * rails_best_practices: allow overriding the executable * rails_best_practices: format help correctly * rails_best_practices: capture tool output on Windows
2017-07-11Brakeman: Remove unused cache var from testsEddie Lebow
2017-07-09Make every test set filenames and switch directories in the same way, and ↵w0rp
fix some missing escaping for the rubocop linter
2017-07-09Use rubocop's JSON output format (resolves #339) (#738)Eddie Lebow
* Use rubocop's JSON output format (resolves #339) Rubocop's emacs formatter seems to have changed format in some not-so-ancient version. The JSON formatter should provide a more stable interface than parsing lines with a regex. The JSON formatter was introduced in mid-2013, so it should be safe to assume available in any reasonably-modern environment. The oldest currently-supported version of ruby (according to ruby-lang.org) was not supported by rubocop until 2014. * Rubocop: Use global function for GetType * Rubocop: Use scope prefix in GetType * Rubocop: Update command_callback test * Rubocop: add end_col to Handle
2017-07-09Fix issues with running individual tests, and get the Vim tests to run on ↵w0rp
certain machines again
2017-07-08Use different reporter to support older versions of jscs (#737)Jonathan Boudreau
* Use different reporter to support older versions of jscs * Add test and make more consistent with other code * Add documentation for jscs * Add more test coverage
2017-07-07Fix windows path check on rust linter (#736)daa84
* Fix rust linter on windows * Add windows path test * Use ale#path#IsBufferPath to compare paths * Fix errors
2017-07-07#710 - Fix a parsing bug caused by the last fixw0rp
2017-07-07#710 - Show warnings as warnings for ghcw0rp
2017-07-03Fix #216 - Filter out errors for other files for ansible-lintw0rp
2017-07-03Report exceptions thrown for stylelintw0rp
2017-07-02Adjust output of `luacheck` linter to include error code (#717)Ryan
* linters/lua/luacheck: Show error code in message
2017-07-01Fix brakeman handler when there is no outputGabriel Sobrinho
2017-06-27Merge pull request #699 from jwoudenberg/masterw0rp
Elm linter shows full error ranges
2017-06-27Elm linter shows full error rangesJasper Woudenberg
2017-06-27Remove style classification from E999 (#696)v1.4.0Nick Krichevsky
* Remove style classification from E999 * Update test_flake8_handler to reflect E999 changes
2017-06-25Change regex to better handle messages with multiple groups of parentheses.John Sivak
2017-06-25Fix #694 - Ignore BEGIN failed errors for Perl only for certain errorsw0rp
2017-06-25Feature/restore display of symbol (#693)John Sivak
* Add display of the pylint symbol name after the message. * Update test to pass.
2017-06-25Improve elm linter (#637)Jasper Woudenberg
* Improve elm linter Some types of errors do not return nice JSON. Show them on the first line instead of showing nothing. * Remove unnecessary properties from elm linter * Add a vader test for elm-make linter * Test non-JSON elm-make errors are shown
2017-06-25Fix #690 - Filter out errors from other files for Haskellw0rp
2017-06-25#684 Handle tslint errors without the severity included, and use character ↵w0rp
instead of position for the columns
2017-06-25Fix #684 - Use the JSON format for tslint, for consistency betwen versions, ↵w0rp
and handling of end line and column numbers
2017-06-22Fix #677 - Ignore errors from other files for cppcheckw0rp
2017-06-22Fix the Perl tests in Dockerw0rp
2017-06-22Fix #676 - Fix handling of Perl errorsw0rp
2017-06-21Fix the standard and xo handlers so they call the eslint functionw0rp
2017-06-20Print messages about imports used when modules are turned offw0rp
2017-06-20Fix #668 - Support eslint for TypeScriptw0rp
2017-06-19handle column number in javac linter (#660)oaue
* handle column number in javac linter * Updated tests with column number for javac errors. * Updated tests with column number for javac errors.
2017-06-18TSLint: distinguish warnings from errors (#663)Pavel Kuropatkin
* TSLint: distinguish warnings from errors * Test for TSlint warning/error distinguishing code added.
2017-06-14Fix an ansible-lint testw0rp
2017-06-14#430 Use the style sub_type for flake8 problemsw0rp
2017-06-14Split up the flake8 and ansible-lint handlersw0rp
2017-06-14#538 - Set some end column indexes for flake8w0rp
2017-06-07Fix the stylelint tests to match the changes to the handlerw0rp
2017-06-06Fix #625 Ignore Perl errors from other filesw0rp
2017-06-06#482 - Fix Flow handling with relative pathsw0rp
2017-05-31Include span label in rust lints (#601)Jon Gjengset
* Include span label in rust lints This turns relatively unhelpful error messages like mismatched types into more expressive messages along the lines of mismatched types: expected bool, found integral variable Fixes #597. * Exclude rust lint span label if empty * Use single-quoted strings in vimscript * Add test for detailed rust errors * Prune Cargo JSON * Use matching error file name * Byte offsets not char offsets
2017-05-31Fix #596 - Report exceptions thrown by flake8w0rp
2017-05-31Include location list end column for rust lint (#602)Jon Gjengset
* Include location list end column for rust lint Fixes #599. * Include rust lint end_lnum for good measure * Reverse engineer end_* for rust lint tests
2017-05-28Ember-template-lint handler: properly handle template parsing errors.Adrian Zalewski
2017-05-27Fix file name checking in rust handler (#581)Agata Naomichi
* Fix file name checking in rust handler * Add a test for rust hanler * Remove unused variable
2017-05-24Translate pylint output column to 1-based indexNozomu Okuda
This should fix #575; also added vader tests to ensure that translation is working properly.