summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-07Let checkstyle only lint original filesJohannes Wienke
Temporary files break checks like the one for a missing package-info.java, as discussed in #1305.
2018-11-07Support older checkstyle versionsJohannes Wienke
The output format used by older checkstyle versions differs from the one of new versions. This commit adds a second parsing iteration on the output lines with a suitable pattern to support both versions in parallel. Due to the differences in the order of matching groups this is hard to achieve in a single pass through the output lines. An appropriate test case is added.
2018-11-06Fix info textLuan Santos
Removed ale_virualtext_prefix from debugging since it's not requried for the functionality to work. Sorted debugging info to make the list easier to navigate/diff.
2018-11-06Document ale_virtualtext_delayLuan Santos
2018-11-06Move virtualtext handling to own fileLuan Santos
This allows cursor and virtualtext to be independently autoloaded.
2018-11-07Add prettier to html formattersAbin Simon
2018-11-06Remove test/command_callback/mix_paths/Jon Parise
All of the other tests were already using equivalent fixtures under test/command_callback/elixir_paths/, so let's use that path everywhere.
2018-11-06Merge pull request #2045 from jparise/elixir-ls-umbrellaw0rp
elixir-ls now recognizes umbrella projects
2018-11-06Update the instructions for installing the tslint tsserver pluginw0rp
2018-11-06Fix incorrect warning matchw0rp
Co-Authored-By: luan <github@luan.sh>
2018-11-05Add support for nvim's virtualtext on cursorLuan Santos
- Add g:ale_virtualtext_cursor boolean to enable/disable it - Add g:ale_virtualtext_prefix to configure what prefix to use (default: '> ') - Requires neovim 0.3.2's unreleased API `nvim_buf_set_virtual_text`
2018-11-05Explain how to configure aliases better, especially for Vuew0rp
2018-11-04Make ocamlformat work without temporary filesAndrey Popp
Problem: ocamlformat is configured to format files in-place and thus go via creating a temporary file for that. Because temporary file resides in a different directory ocamlformat can't find `.ocamlformat` configuration files in an original location of source files. Solution: ocamlformat since version 0.8 can read sources on stdin and spur result on stdout. We reconfigure ocamlformat to use a simpler interface.
2018-11-04elixir-ls now recognizes umbrella projectsJon Parise
Previously, elixir-ls would treat each sub-project within an umbrella as standalone, which isn't desirable from a language server perspective. Added ale#handlers#elixir#FindMixUmbrellaRoot, which locates the current project's root and then continues searching upwards for a potential umbrella project root. This literally looks just two levels up to keep things simple while keeping in line with Elixir project conventions. Use this new function to determine elixir-ls's LSP project root.
2018-11-04Merge pull request #2051 from aclemons/ruumbaw0rp
Add initial support for ruumba in eruby files.
2018-11-04Allow configuration of hamllint executable (#2048)Justin Howard
* Allow configuration of hamllint executable The hamllint executable was hard-coded, preventing it from being overridden. Fix the executable to be dynamic to allow custom executable paths.
2018-11-04Merge pull request #2046 from tyru/fix-unmatched-quotew0rp
[Doc] Fix unmatched backquote in doc
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-04Merge pull request #2042 from jparise/elixir-ls-configw0rp
Add configuration dictionary support to elixir-ls
2018-11-04Add initial support for ruumba in eruby files.Andrew Clemons
Ruumba provides RuboCop linting for ERB templates. https://github.com/ericqweinstein/ruumba
2018-11-02fix unmatched backquote in doctyru
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-31Add a bullet point about symbol searchw0rp
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-31Tell people to write tests even morew0rp
2018-10-31Pass the filename of the current file into jshintJames Owen
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-29Fix a typow0rp
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-29Merge pull request #2028 from capjo/masterw0rp
Fix clazy tests
2018-10-29Add a note about OmniSharpw0rp
2018-10-28Fix clazy testsAndreas Hollmann
2018-10-26Merge pull request #2024 from jpowell/1580-rubocop-fixer-force-exclusionsw0rp
Adds missing "s" on rubocop exclusion flag
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-26Merge pull request #2023 from jpowell/1580-rubocop-fixer-force-exclusionsw0rp
Add force exclusions flag to rubocop fixer