summaryrefslogtreecommitdiff
path: root/test/command_callback
AgeCommit message (Collapse)Author
2018-01-12Merge pull request #1256 from jonatanolofsson/masterw0rp
Fix #1255: Move extra clang-check args to before user options
2018-01-11Teach ALE about cargo features and add some configuration optionsIvan Petkov
* When working on rust/cargo projects of varying sizes, it may be useful to either build all possible features (i.e. lint all possible conditionally compiled code), or even turn off other features for a quicker edit-lint cycle (e.g. for large projects with large build times) * Added a g:ale_rust_cargo_default_feature_behavior flag for instructing cargo to not build any features at all (via `--no-default-features`), building default features (via no extra flags), or building all possible features (via `--all-features`) * Also added a g:ale_rust_cargo_include_features flag for including arbitrary features to be checked by cargo. When coupled with g:ale_rust_cargo_default_feature_behavior this allows for full customization of what features are checked and which ones are ignored
2018-01-08Add a luac linter for Luajiangzhi.xie
2018-01-08Fix a syntax error in a testw0rp
2018-01-07test for ghc optionsKevin Tindall
2018-01-07Make it possible to inject flags of protoc invocation.Benjamin Bannier
Typically proto files depend on and make use of proto definitions in other files. When invoking protoc user can supply paths to inspect for dependencies. This patch makes it possible to configure flags passed to protoc. This makes it e.g., possible to change include paths of the linter's protoc invocation.
2018-01-07Removed unneeded `SetDirectory` call in proto handler test.Benjamin Bannier
The test already handled arbitrary paths reasonably well, but setting the directory interfered via leakage with others tests for some reason. This patch removes the call to `SetDirectory` in the fixture setup and the subsequent cleanup in the teardown as they are not required.
2018-01-07Go: Add gotype support (#1099)Jelte Fennema
2018-01-02Fix #1255: Move extra clang-check args to before user optionsJonatan Olofsson
2017-12-20Fix the gitlint testw0rp
2017-12-20Add support for linting git commit message files (#1233)Nick Diego Yamane
2017-12-19Fix the mscs tests on Windows, and use the improved Simplify for all tests ↵v1.7.0w0rp
instead.
2017-12-19Fix #1031 - Make the rust flags configurablew0rp
2017-12-19Fix mcsc paths and escaping for Windowsw0rp
2017-12-19Merge pull request #1221 from JelteF/patch-1w0rp
Fix erb linter for puppet style erb templates
2017-12-19erb: fix testsJelte Fennema
2017-12-17Fix typos in flake8 test messagesNick Diego Yamane
Signed-off-by: Nick Diego Yamane <nick.diego@gmail.com>
2017-12-07Fix #1202 - Do not use --all-targets by default, because it doesn't work ↵w0rp
some of the time.
2017-12-04Added option for `gometalinter` to lint package (#1156)Jeff Willette
* Added option for `gometalinter` to lint package * added tests for the `gometalinter` command * changed gometalinter commands to use BufferCdString
2017-12-02Escape the perl executable, and cover the callbacks with testsw0rp
2017-12-02Revert "Fix #1186 - Use -w by default for Perl, which does not execute code"w0rp
This reverts commit f5fc746d00a8b8e0aaac1904ce97ad7eb52e1b24.
2017-12-02Fix #1186 - Use -w by default for Perl, which does not execute codew0rp
2017-12-01Add glslls (#1179)Sven-Hendrik Haase
* Add glslls-based LSP linter * Make logfile configureable
2017-12-01Delete unnecessary unletsSven-Hendrik Haase
I'm not even sure why these were here.
2017-11-28Fix #1168 - Make the ruby linter executable configurablew0rp
2017-11-26Fix #1166 - Add an option for the rls toolchainw0rp
2017-11-22Fix the Windows tests for pylsw0rp
2017-11-21Escape the pyls executable in the command, and support running virtualenv ↵w0rp
pyls executables
2017-11-21#1151 - Overhaul the foodcritic linter for checking files on diskw0rp
2017-11-20Fix #859 Include test and jaxb Java source paths when availablew0rp
2017-11-20Revert "Show problems from other files for gobuild and gometalinter"w0rp
This reverts commit e721f851b41b8f6f31067ae2a137019e1cb5546c.
2017-11-19Make the iverilog tests match the other testsw0rp
2017-11-17Fix #516 - Add support for pyflakes for Pythonw0rp
2017-11-17add ale_asm_gcc_executable option (#1138)Thomas van der Burgt
* add ale_asm_gcc_executable option * add Vader tests for asm gcc linter command callbacks
2017-11-16erb, erubis: Redirect file into first command.Eddie Lebow
The previous version relied on a zsh-specific behavior where `<filename` after a pipe could redirect to the first command. This is the standard way to do it.
2017-11-16Merge pull request #1114 from elebow/eruby-strip-rails-flavoringw0rp
Strip Rails flavoring from eRuby when in a Rails project. Fixes #580.
2017-11-15Clean up tests to stop people copy and pasting the wrong examplesw0rp
2017-11-15Show problems from other files for gobuild and gometalinterJeff Willette
* Added filename keys to gobuild and gometalinter * Removed skipping files not in current package * Removed `--include` for gometalinter * Fixed the tests
2017-11-12[eruby] Add GetCommand to erubis linterEddie Lebow
GetCommand conditionally adds a filter (implemented as inline Ruby code in the command line) to transform some of the problematic Rails-specific eRuby syntax. Specifically, <%= tags are replaced with <%. This does not reduce the effectiveness of the linter, because the transformed code is still evaluated. This solution was suggested by @rgo at https://github.com/w0rp/ale/issues/580#issuecomment-337676607.
2017-11-12[eruby] Add GetCommand to erb linterEddie Lebow
GetCommand conditionally adds a filter (implemented as inline Ruby code in the command line) to transform some of the problematic Rails-specific eRuby syntax. Specifically, <%= tags are replaced with <%. This does not reduce the effectiveness of the linter, because the transformed code is still evaluated. This solution was suggested by @rgo at https://github.com/w0rp/ale/issues/580#issuecomment-337676607.
2017-11-12Fix #510 Support checking LESS files with stylelintw0rp
2017-11-12Add tests for the command and executable callbacks, and make them use local ↵w0rp
node_modulse esxecutables like other linters
2017-11-12Add tests for ocaml-language-server callbacksMichael Jungo
2017-11-12Added support for linting of proto files (#1098)Jeff Willette
* Added support for linting of proto files * Added function to get the proper protoc command
2017-11-12Simplfy semver handling and share the semver version cache across everythingw0rp
2017-11-10Added support for linting of proto files (#1098)Jeff Willette
* Added support for linting of proto files * Added function to get the proper protoc command
2017-11-09Simplfy semver handling and share the semver version cache across everythingw0rp
2017-11-05Add executable option for phpmd linter (resolves #1076) (#1078)David Sierra DiazGranados
* Add executable option for phpmd linter (resolves #1076) * Add test for phpmd executable option
2017-11-05Fix #626 - Automatically use `cargo check` and `cargo check --all-targets` ↵w0rp
for cargo versions that are new enough
2017-11-05Fix #1061 - Handle the filenames returned by javacw0rp