summaryrefslogtreecommitdiff
path: root/test/handler
AgeCommit message (Collapse)Author
2017-10-19add support for remark-lintrhysd
2017-10-15#977 Complain about the lack of configuration files for scalastyle in such a ↵w0rp
way that users will be directed towards getting it to work
2017-10-12Merge pull request #968 from adriaanzon/luacheck-whitespacew0rp
Luacheck: Respect warn_about_trailing_whitespace option
2017-10-12Add some extra tests for luacheck whitespace warningsAdriaan Zonnenberg
2017-10-10Add llc integration for LLVM IR (#979)Linda_pp
Check LLVM IR with llc
2017-10-01Fix Flow and Idris tests for Windowsw0rp
2017-10-01Get the mcsc handler tests to pass on Windowsw0rp
2017-09-27Implemented review recommendationsXristoph Hintermüller
Implements suggestions and recommendations suggested by the first review of the "Advance C# linter based on mcs -t:module (#952)" pull request. - Clarifies and simplifies description of linters and options - Added links to help file and marked the mcsc linter as to be run only when file in buffer is saved or loaded. - Added comments to the mcsc.vim file to clarify code - removed type checks considered not necessary be reviewer. - addresses findings by vader - removed call to getcwd and cd in vim script - handler expands file names relative to route of source tree into absolute pathes. Fixes errors not being marked when vim is started from subdirectory of source tree. - implements tests for mcs.vim and mcsc.vim linter
2017-09-14Make temporary file detection work on just about all platformsw0rp
2017-09-14Fix a mistake in the flow testsw0rp
2017-09-13Report problems in other files for brakeman, and get the tests to pass on ↵w0rp
Windows
2017-09-13Get some more random tests to pass on Windowsw0rp
2017-09-11Get more tests to pass on Windowsw0rp
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