summaryrefslogtreecommitdiff
path: root/test/command_callback
AgeCommit message (Collapse)Author
2017-08-31Fix #895 - Run Node.js scripts with node.exe instead of node on Windowsw0rp
2017-08-30Add tests for the c version of clang-tidyw0rp
2017-08-30Cover the tslint rules option with a testw0rp
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-28#869 - Detect the shell dialect from the hashbang for shellcheckw0rp
2017-08-26#868 - Prefer cmd.js files for executing standardw0rp
2017-08-25Add pycodestyle Python linter support (#872)Michael
Add a pycodestyle linter
2017-08-24Add clang-format fixer for C/C++ (#873)Peter Renström
* Add clang-format fixer for C/C++ * Document clang-format options * Refer ale-cpp-clangformat to ale-c-clangformat
2017-08-21Fix #864 - Use the user's configured executable for phpstan for executable() ↵w0rp
checks
2017-08-20add phpcbf fixertmn-o3
2017-08-20#653 Update tslint to set the filename key for problems in other filesw0rp
2017-08-19Syntaxerl linter feature check (#861)Dmitri Vereshchagin
* Add feature check for SyntaxErl linter * Escape SyntaxErl executable path in commands
2017-08-19#860 Only enable the new option for setting the original filename for ↵w0rp
SyntaxErl if an option is on in ALE
2017-08-19Add original filename to SyntaxErl commandDmitri Vereshchagin
2017-08-19Update SyntaxErl linter testsDmitri Vereshchagin
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-10Merge pull request #842 from gfontenot/gf-swiftformatw0rp
Add support for SwiftFormat as a fixer
2017-08-10Move --format=default in the flake8 command to the return value, and remove ↵w0rp
extra spaces in the tests
2017-08-09Add support for SwiftFormat as a fixerGordon Fontenot
SwiftFormat is a tool that can be used to format Swift files. This commit adds support for using SwiftFormat as a fixer from ALE. It looks for executables in the Pods directory, then the Pods directory for a React Native project, then finally falls back to the globally installed instance if neither of those were found. https://github.com/nicklockwood/SwiftFormat
2017-08-09Default flake8 to --format=defaultMatthew Grossman
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-02Use g: for the PHP Vader testsw0rp
2017-08-02Cover the PHP language server functions with Vader testsw0rp
2017-07-24Make executable and options configurable for hdevtoolsTakano Akio
2017-07-20#782 - Do not set the build directory for clang-tidy for header files, which ↵w0rp
does not work
2017-07-20Fix #786 - Only set --no-local-style for yapf if a configuration file is ↵w0rp
detected
2017-07-18Fix #308 - Check Dart files with dartanalyzerw0rp
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-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-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-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-11Merge pull request #756 from svanharmelen/b-gometalinterw0rp
Make gometalinter work again
2017-07-11Look for ini file to spot python project root (#755)Matteo Centenaro
* Look for ini file to spot project root When looking for the project root folder it would be better to check for some well-known init file instead of __init__.py. Indeed, with python3 it is now possible to have namespace modules where intermediate dirs are not required to include the __init__.py file. * Break if statement conditions over several lines * Add blank lines for the if block * Add test for FindProjectRoot * Typo: missing / for MANIFEST.in * Fix test for non-namespace package * Add more test cases
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-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-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-07#697 - Clear all highlights every time items are set again, and refactor ↵w0rp
most things. Clear errors when linters are removed
2017-07-07Make the executable for gometalinter configurablew0rp
2017-07-06#732 - Use the configuration files when fixing files with rubocopw0rp