summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2018-11-04Clean up a buffer variable in a test filew0rp
2018-11-04Merge pull request #2044 from Steap/bug/1388w0rp
PHP linter: make the path to the executable configurable
2018-11-01PHP linter: make the path to the executable configurableCyril Roelandt
Fixes #1388
2018-10-31Add configuration dictionary support to elixir-lsJon Parise
This adds generic configuration dictionary support to the elixir-ls linter. This is useful for disabling its built-in Dialyzer support, for example, which can improve startup time. The configuration dictionary is a little verbose. I considered reducing the user configuration to only the nested settings dictionary (and having the linter implementation wrap it in the top-level `elixirLS` dictionary), but leaving it fully configurable simplifies the code and removes any assumptions about current or future ElixirLS behavior.
2018-10-31Fix the Windows testsw0rp
2018-10-31Merge pull request #2035 from jparise/lsp_config_callbackw0rp
Add a `lsp_config_callback` linter option
2018-10-31Implement LSP symbol searchw0rp
2018-10-31Only send LSP config updates when the dict changesJon Parise
Each LSP connection now stores its configuration dictionary. It is initially empty (`{}`) and is updated each time the LSP connection is started. When a change is detected, the workspace/didChangeConfiguration message is sent to the LSP servers with the updated configuration.
2018-10-31Add a `lsp_config_callback` linter optionJon Parise
This is the callback-based variant of the existing `lsp_config` linter option. It serves the same purpose but can be used when more complicated processing is needed. `lsp_config` and `lsp_config_callback` are mutually exclusive options; if both an given, a linter preprocessing error will be raised. The runtime logic has been wrapped in `ale#lsp_linter#GetConfig` for convenience, similar to `ale#lsp_linter#GetOptions`. This also adds documentation and an `AssertLSPConfig` test function for completeness.
2018-10-31Merge pull request #2040 from leamingrad/jshint_filenamew0rp
Pass the filename of the current file into jshint
2018-10-31Add some basic callback tests for jshintJames Owen
2018-10-31Merge pull request #2031 from capjo/masterw0rp
Do not enable all clang-tidy checks by default
2018-10-31Merge pull request #2036 from maxhungry/fix-rubocop-fixerw0rp
Use correct exclusion flag in rubocop fixer
2018-10-31Use correct exclusion flag in rubocop fixerMax Hung
2018-10-30Try to fix the tests on Windowsw0rp
2018-10-30Do not enable all clang-tidy checks by defaultAndreas Hollmann
2018-10-29#2017 Add support for display results from other sourcesw0rp
2018-10-29#2017 Simplify lint cycles for supporting other sources laterw0rp
2018-10-28Fix clazy testsAndreas Hollmann
2018-10-26fix missing (s) on rubocop exclusion flagJustin Powell
2018-10-26Add the dockerfile_lint linter for Dockerfiles (#1971)Alexander "Ananace" Olofsson
* Add the dockerfile_lint linter for Dockerfiles
2018-10-26Add prolog swipl linter (#1979)Takuya Fujiwara
* add prolog/swipl linter * use load_files/2 instead of read_term/2 Because it also checks some semantic warnings / errors not only syntactic warnings / errors. e.g.: * singleton warning * discontiguous warning * ... cf. http://www.swi-prolog.org/pldoc/doc_for?object=style_check/1 * support error messages with no line number :- module(module_name, [pred/0]). causes ERROR: Exported procedure module_name:pred/0 is not defined * add test for prolog/swipl handler * cosmetic fixes * detect timeout using SIGALRM * rename g:prolog_swipl_goals to g:prolog_swipl_load * write doc for prolog/swipl linter * update toc and README * fix ignore patterns
2018-10-26closes #1580 add force exclusion to rubocop fixerJustin Powell
2018-10-26Merge pull request #1999 from stevenharman/expand_filename_for_reekw0rp
Reek: --force-exclusion flag
2018-10-26Rust checker: allow secondary spans to be ignored (#1696)Dan Aloni
* Rust checker: allow secondary spans to be ignored * test/handler/test_rust_handler.vader: Add tests for g:ale_rust_ignore_secondary_spans
2018-10-26#927 Allow b:ale_linter_aliases to be set to a Stringw0rp
2018-10-25Respect configured excluded_pathsSteven Harman
2018-10-25Merge pull request #1958 from Garland-g/perl6w0rp
Add Perl6 support via 'perl6 -c'
2018-10-25Merge pull request #2016 from terryding77/masterw0rp
fix: change google_java_format_* to java_google_java_format_*
2018-10-25Only run stack if a stack.yaml config is found (#1752)Anthony Poon
* Only run stack if a stack.yaml config is found It is necessary to check for a stack.yaml file to distinguish between cabal-only projects or stack projects (which are also cabal projects since stack is built on top of cabal). * Test that stack is called if stack.yaml exists
2018-10-25Merge pull request #2018 from muglug/patch-1w0rp
Update Psalm to use LSP
2018-10-25Merge pull request #2012 from paihu/fix-cdstring-win32-change-drivew0rp
Fix #2011 MS Windows, lint error when current drive and target file drive is different.
2018-10-24fix: change google_java_format_* to java_google_java_format_* for inject ↵Terry Ding
global variables according to doc/ale-java.txt
2018-10-23add terraform fmt fixer for terraform and hcl filetypesDerek P Sifford
See #1718
2018-10-24fix has('unix') equal 0 is windows.paihu
2018-10-23ale#path#CdString include ale#Escapepaihu
2018-10-22fix testcasepaihu
2018-10-22LSP configuration via didChangeConfiguration (#1852)Daniel Welch
* adding LSP configuration via workspace/didChangeConfiguration
2018-10-22fix CdString for MS Windowspaihu
2018-10-22Add support for `cargo clippy` (#2001)Linda_pp
* Add support for `cargo clippy` * Add tests for cargo-clippy support * Add an example to doc for how to configure ale_rust_cargo_use_clippy
2018-10-19Add tests for updated Psalm pluginMatt Brown
2018-10-18Merge pull request #1991 from alskdj21/ruby_solargraph_init_optionsw0rp
Expose ruby-solargraph's initialization options
2018-10-18Allow custom executable for ansible linters (#1977)ix5
* Allow custom executable for ansible linters * Add ansible-lint tests * ansible-lint: simplify linter command * Rename linter "ansible" to "ansible_lint" * Add ansible-lint options to documentation * Add alias ansible-lint for ansible_lint
2018-10-17New linter: dls (#1992)Auri
* New linter: dls
2018-10-12Rename solargraph initialization option variableKim Joseph S. Sadomia
2018-10-12Allow custom filters for the jq fixer (#1980)Aliou Diallo
* Allow the jq filters to receive custom filters. * Update documentation.
2018-10-12Expose ruby-solargraph initialization optionsKim Joseph S. Sadomia
2018-10-11Add elixir-ls language server supportJon Parise
ElixirLS (https://github.com/JakeBecker/elixir-ls) is an LSP server for Elixir. It's distributed as a release package that can be downloaded from https://github.com/JakeBecker/elixir-ls/releases or built locally. The easiest way to start it is via Unix- and Win32-specific helper scripts, so that's the basis of this command integration. Alternatively, we could implement the contents of those platform-specific scripts in the linter's command callback in a language-neutral way, but there isn't any benefit to doing that aside from eliminating the platform check, and that could prove to be too tight of a coupling going forward.
2018-10-11Fix Credo message types (#1963)Filip Vavera
* Add more Credo message types * Add tests
2018-10-10FIX: use mix from the project root directory (#1954)Matteo Centenaro
* FIX: use mix from the project root directory * Move find root project function to autoloaded handlers * add tests for #ale#handlers#elixr#FindMixProjectRoot