summaryrefslogtreecommitdiff
path: root/test/handler
AgeCommit message (Collapse)Author
2017-09-10Get the TSLint handler tests to pass on Windowsw0rp
2017-09-10Simplify some Rust handler code, and get the Rust handler tests passing on ↵w0rp
Windows
2017-09-08Add GLSL linter using glslang (#914)Sven-Hendrik Haase
* Add a glslang linter for GLSL
2017-09-07Add cuda nvcc linter (#874)BlahGeek
* add cuda nvcc linter
2017-09-06Add an option for ignoring the output of TSLint if a file contains a single ↵w0rp
blank line
2017-09-03#894 - Replace ugly temporary filenames for Haskell problems with the ↵w0rp
buffer's basename
2017-09-03Detect and use CM files for smlnj (#884)Jake Zimmerman
* Detect and use CM files for smlnj * Split into two checkers - one for CM projects - one for single SML files * Fix some typos * Fix error caught by writing tests We want to actually use `glob` to search in paths upwards from us. (Previously we were just searching in the current directory every time!) * Fix errors from former test run * Write tests for GetCmFile and GetExecutableSmlnj * Typo in 'smlnj/' fixture filenames
2017-08-30Add a linter for Apache Thrift IDL filesJon Parise
This linter works by invoking the `thrift` compiler with the buffer contents and reporting any parser and code generation issues. The handler rolls its own output-matching loop because we have the (unfortunate) requirement of handling error output that spans multiple lines. Unit tests cover both the command callback and handler, and there is initial documentation for all of the option variables.
2017-08-26Set the end column for some Vint problemsw0rp
2017-08-25Add pycodestyle Python linter support (#872)Michael
Add a pycodestyle linter
2017-08-22Remove some redundant eslint test codew0rp
2017-08-21Fix #864 - Use the user's configured executable for phpstan for executable() ↵w0rp
checks
2017-08-20#653 Show errors from other files for mypyw0rp
2017-08-20#653 Update tslint to set the filename key for problems in other filesw0rp
2017-08-19Update SyntaxErl linter testsDmitri Vereshchagin
2017-08-16Include the ruleName for errors in tslint problemsw0rp
2017-08-10Add linter for Idris (#838)Scott Bonds
* Add linter for Idris * Fix parsing warnings and column ranges in Idris linter * Make Idris linter configurable. Fix help tag.
2017-08-02Add Tcl nagelfar linterNick James
2017-08-02Rubocop: Show cop nameJunegunn Choi
2017-07-27#810 - Handle output which is not JSON in many lintersw0rp
2017-07-26#810 Ignore output which isn't JSON for brakemanw0rp
2017-07-26Fix #804 - Do not run scalac for sbt filesw0rp
2017-07-23Fix #795 - Handle GCC errors without column numbersw0rp
2017-07-22Fix #794 - Filter out any preceding lines of Flow output which aren't JSONw0rp
2017-07-19Fix #779 - Handle empty output for tslintw0rp
2017-07-18Fix #308 - Check Dart files with dartanalyzerw0rp
2017-07-18Fix #710 - Show hlint suggestions as info items, and include end line and ↵w0rp
column numbers
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