summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
2017-07-17#711 - Make the clangtidy executable configurablew0rp
2017-07-16#711 - Make the clangcheck executable configurablew0rp
2017-07-16#711 - Make the gcc executables configurablew0rp
2017-07-16#711 - Make the cppcheck executables configurablew0rp
2017-07-16#711 - Make the clang executables configurablew0rp
2017-07-16Merge pull request #774 from dmitrivereshchagin/syntaxerl-linterw0rp
Add SyntaxErl linter
2017-07-16Added phpstan linter for php. (#772)Ardis
* Added phpstan linter for php.
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-12Fixup #756Sander van Harmelen
The real fix was not using absolute paths anymore (so not expanding with the `:p` option). The regex was correct and should at least include the `^` character to make sure the string starts with the given path/filename and not references the path/filename in some error description.
2017-07-11#756 Escape the paths used for the --include parameter for gometalinter, ↵w0rp
which uses RE2
2017-07-11Make gometalinter work againSander van Harmelen
They changed their logic to use related paths instead of absoluut paths (see [here](https://github.com/alecthomas/gometalinter/commit/a04df08be5899be3c7ad69aa379858dcb660c709#diff-04424ed7c660c10495a54e8d11be89eaR253)) This fixes the linter by also using relative paths…
2017-07-11Prefer --fast for stack-build (#754)Jake Zimmerman
* Vim scripts shouldn't have hyphens Especially not ones that will be autoloaded. You can't have a hyphen in a function name, so autoloading functions based on filename will fail. * Add g:haskell_stack_build_options, default: --fast If we're going to use the --fast option, we may as well go the whole 9 yards and let the user configure the 'stack build' flags. * Create documentation for stack-build options
2017-07-10Kotlin and general Gradle support. (#745)Michael Pardo
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-09Add new Haskell linter (#742)Jake Zimmerman
* Add stack-build linter for Haskell The stack-build linter works better than the other two linters when you're working with an entire Haskell project. It builds the project entirely and reports any errors. The other two Haskell GHC linters only work on single files, which can result in spurious errors (for example, not being able to find imports). * Document all available Haskell linters * Split GHC checkers into separate files
2017-07-09Fix some indentationw0rp
2017-07-09Simplify ale_linters#ruby#rubocop#GetTypew0rp
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-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 #735 - Support old versions of Flow by only adding --respect-pragma for ↵w0rp
supported versions
2017-07-07Make the executable for gometalinter configurablew0rp
2017-07-06Initialize rubocop variables in one placew0rp
2017-07-05#729 - Support running Python programs from virtualenv for Windowsw0rp
2017-07-05Correctly pass options to cpplint (#728)Wil Thomason
* Fix option passing to cpplint
2017-07-03Fix #216 - Filter out errors for other files for ansible-lintw0rp
2017-07-03Fix #182 - Add support for lintrw0rp
2017-07-03Fix #178 - Check Stylus files with stylelintw0rp
2017-07-03Allow `hadolint` linter to run via docker image (#720)Chris Weyl
* Add documentation for hadolint (doc/ale-hadolint.txt) * Allow `hadolint` linter to run via docker image These changes enable the `hadolint` linter to run via the author's docker image, if present. Three modes are supported: * never use docker; * always use docker; and * use docker as a failback.
2017-07-02Remove the need for pointless callbacks for LSP lintersw0rp
2017-07-02Support an 'stdio' type for linter defintions, and require a command for LSP ↵w0rp
connections via programs
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-29Add profile, other options to the perlcritic linter (#675)Chris Weyl
* Add profile, other options to the perlcritic linter
2017-06-29Make pug-lint detect node_modules executables, and add options for pug-lint ↵w0rp
like the other linters
2017-06-29Adds an option to pass additional arguments to the verilog/verilator … (#698)Tarik Graba
* Adds an option to pass additional arguments to the verilog/verilator linter The new otion is g:ale_verilog_verilator_options + doc * Spell check verilog linter doc file * Add entries to the verilog linters in the doc table of content * Vader test for verilog/verilator linter args option verilog_verilator_options
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-27Fix #680 - Use --shadow-file to check for problems with mypy while you typew0rp
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-25Move ale#handlers#c functions into ale#cw0rp
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-25#684 Handle tslint errors without the severity included, and use character ↵w0rp
instead of position for the columns