summaryrefslogtreecommitdiff
path: root/test/command_callback
AgeCommit message (Collapse)Author
2017-09-30Added g:ale_php_phpstan_configuration optionRuslan Osmanov
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-22Move dialect setting before user options (shellcheck)Tim Byrne
2017-09-18fix typo `RUBUCOP` --> `RUBOCOP` for slim lintMarkus Doits
this actually makes 6ebd8f355c974cb6b7c5d5aff20603c8c4b38feb work
2017-09-15slimlint: Search for .rubocop.yml and use itMarkus Doits
This fixes slim-lint not honoring a `.rubocop.yml` in the file's or parent directory. Due to the way slim-lint calls rubocop, it requires the special `SLIM_LINT_RUBUCOP_CONF` env var to pick up the `.rubocop.yml` if it is not run on the real file (which is the case here). See https://github.com/sds/slim-lint/blob/master/lib/slim_lint/linter/README.md#rubocop
2017-09-11Fix some random test issues for Windowsw0rp
2017-09-09#917 Cover the old _args option for flake8 with a test, just in casew0rp
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-03Test lintr options configurationw0rp
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.