summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
2017-08-13Make ghc-mod be awared of cabal fileVo Anh Duy
Right now ghc-mod linter check temp file instead of current buffer, which cause the problem that it can't detect cabal file and raise missing package error. To fix that we need to run ghc-mod check with actual path of the current file and with ghc-mod option `--map-file` to redirect temp file source code to actual one
2017-08-11Ban !=# and !=? from the codebasew0rp
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-10Move --format=default in the flake8 command to the return value, and remove ↵w0rp
extra spaces in the tests
2017-08-09Default flake8 to --format=defaultMatthew Grossman
2017-08-08Ban use of ==# or ==? in the codebase, and prefer is# or is? insteadw0rp
2017-08-07Document the PHP langserver integrationw0rp
2017-08-05Fix #823 - Write Windows files with CRLFw0rp
2017-08-03Merge pull request #821 from verbitan/nagelfarw0rp
Add Tcl nagelfar linter
2017-08-02Cover the Rust LSP with tests, allow LSP linters to be named anything, and ↵w0rp
rename the Rust LSP linter to `rls`
2017-08-02Add Tcl nagelfar linterNick James
2017-08-02Cover the PHP language server functions with Vader testsw0rp
2017-08-02#517 Enable the PHP language serverw0rp
2017-08-02Rubocop: Show cop nameJunegunn Choi
2017-07-30#517 - Get the Rust language server working in a basic wayw0rp
2017-07-30Fix some bugs so the PHP language server will show errors at least oncew0rp
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-26#517 Add more code LSP support which makes the tssserver linter behave more ↵w0rp
like the LSP linters
2017-07-26Fix #804 - Do not run scalac for sbt filesw0rp
2017-07-24Make executable and options configurable for hdevtoolsTakano Akio
2017-07-22Fix #794 - Filter out any preceding lines of Flow output which aren't JSONw0rp
2017-07-20#782 - Do not set the build directory for clang-tidy for header files, which ↵w0rp
does not work
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-18Fix #776 - Do not add ; echo for Windows for Floww0rp
2017-07-17Add yaml swaglint linter (#771)Matthew Turland
* Add yaml swaglint linter
2017-07-17#703 Add arguments to avoid generating plist files if no build directory is ↵w0rp
detected for clang-check
2017-07-17Fix another executable callback typow0rp
2017-07-17Fix an executable_callback typow0rp
2017-07-17#711 - Make the cpplint executable configurablew0rp
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