summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-23Add support for gjs template linting using embertemplate lint (#4653)Sam
* super hacky way to get ember template lint to work on gjs files * Clean up code so we use a handler which means we reuse all the config also moves handler to the glimmer directory so it only fires for gjs files * fix tests
2024-02-22Add file mapping to phpstan (#4685)Edwin Huijsing
* PHPStan is now working with filename-mapping See help ale-lint-other-machines for more info about filename-mapping. * Add two tests to show and test what is expected * Missed this update while creating previous commit * Simplified the update We only needed to refactor the processing loop. No extra test are needed.
2024-02-22Slang linter for Verilog. (#4713)AlvinRolling
2024-02-22Update project root detection for erlang_ls linter (#4619)Dmitri Vereshchagin
* Refactor erlang_ls linter tests * Add Rebar3 _checkouts support for erlang_ls linter * Add Erlang.mk support for erlang_ls linter
2024-02-22Adding support for Odin language server (ols). (#4679)Benjamin Block
2024-02-22Add wiki link to ShellCheck linting (#4681)Brandon Maier
The ShellCheck integrations wiki suggests providing users with more info by linking back to the ShellCheck wiki. https://www.shellcheck.net/wiki/Integration#linking-to-the-wiki
2024-02-22[hover] ParseLSPResult sets language 'text' for missing spec (#4699)Oliver Albertini
I have an LSP that is returning markdown code blocks on Hover with no language specified, e.g. ```` ``` Foobar ``` ```` As a result, you get "```" in the message line which is not that useful. I made the regex to catch the first code fence accept empty language as well, and if it's empty, we set it to "text". This makes it so that LSPs that return no language still produce legible restuls on the message line. Co-authored-by: Oliver Ruben Albertini <ora@fb.com>
2024-02-06fix #4687 - only lint one file with actionlint (#4688)Tim Carry
2024-02-06Support 'gleam format' as Gleam fixer (#4710)Jonathan Palardy
2024-01-14Add biome support for javascript (#4701)Akiomi Kamakura
2024-01-14Add language id of cspell (#4700)ohakutsu
2024-01-14Fix chktex highlighting wrong column when using tabs instead of spaces (#4661)Jorengarenar
* Fix chktex highlighting wrong column when using tabs instead of spaces Fixes #723 chktex implemented feature request [1] for allowing setting options from the command line. Thanks to that we can tell it to treat tab character as of one space width, i.e. one char. That means, after we translate the output back to Vim columns, we get correct numbers. [1]: https://savannah.nongnu.org/bugs/?56486 * Add test_tex_chktex.vader * Use functions to set g: variables in ale_linters/tex/chktex.vim * Update ale_linters#tex#chktex#GetCommand() to use '%e'
2024-01-14add: support for `rubyfmt` as `ruby` fixer (#4678)Yining
[rubyfmt](https://github.com/fables-tales/rubyfmt) is a formatter for `ruby` code. This commit adds support for `rubyfmt` as a `ruby` fixer (#2991), together with some tests and documentation.
2024-01-14Actionlint: correctly parse error line when using shellcheck sublinter (#4689)Tim Carry
2024-01-14Add end_col and end_lnum to ShellCheck (#4692)Brandon Maier
* Add end_col and end_lnum to ShellCheck ShellCheck supports a JSON format mode which includes an 'endLine' and 'endColumn' field. We must use the newer 'json1' format as it properly treats tabs as a single character. 'json1' was not supported until v0.7.0 in 2019[1], so we maintain support for the older GCC based format. [1] https://github.com/koalaman/shellcheck/blob/v0.9.0/CHANGELOG.md?plain=1#L121 * Add wiki link to ShellCheck json output
2024-01-14Support gleamlsp language server for gleam (#4696)Jonathan Palardy
2024-01-14Stylelint linter output stream can go to stderr (#4702)Nicolas Blanchot
Since [version 13.6.0](https://github.com/stylelint/stylelint/blob/804bb24c75248aba55b009994e4bfb561593a990/CHANGELOG.md?plain=1#L654), following [PR 4799](https://github.com/stylelint/stylelint/pull/4799) `stylelint` errors are sent to `stderr`. Previous versions where sending errors to `stdout`.
2024-01-14Use different group names for signs and virtual text (#4704)Ingo Meyer
Since Neovim commit c4afb9788c4f139eb2e3b7aa4d6a6a20b67ba156, the sign API uses extmarks internally. Virtual text is already rendered using extmarks. ALE uses the same group name for both signs and virtual text and as a result, both are placed in the same extmark group. Since ALE deletes all extmarks in the virtual text group after all signs have been placed, no signs are ever shown. This commit fixes this by renaming the sign group from `ale` to `ale_signs`.
2024-01-14Fix E1085: Not a callable type: elm_ls#GetOptions (#4707)samuelhelen
Rename GetOptions to GetInitializationOptions for consistency.
2023-12-10Ruff use json-lines output format (#4656)Finn Steffens
* Ruff use json-lines output format * Fix Ruff: add -q to prevent non json output Using the json-lines output format allows for setting of the end_line, end_col and code field of the handle output. Additionally, the first letter of the code is used to determine the type field. Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2023-12-10fix tempfile for phpmd, to be able to use phpmd 2.14.0 (#4617)Shad
2023-12-08Add support for Scarb in `cairo` files (#4669)MD
* Add support for Scarb in `cairo` files * specify if linter should run on saved
2023-12-07add: support for `nickel format` as `Nickel` fixer (#4665)Yining
Nickel(https://nickel-lang.org/) is a configuration language, like Jsonnet, Cue, Dhall. `nickel`(https://github.com/tweag/nickel) is the main command to run, export and also format Nickel code. this commit adds `nickel format` as a Nickel fixer, together with some tests and documentation.
2023-12-07Add clang-check linter for C (#4662)Jorengarenar
* Close #976 - add clang-check to C linters * Update docs
2023-11-19add b:undo_ftplugin (#4625)D. Ben Knoble
2023-11-16Adding support for ruff formatter (#4645)Joseph Henrich
2023-11-08Fix: Ruff output option (#4632)Adam Blackwater
* fix --output-format option * Add conditionally changing flag based on Ruff version
2023-11-05Fix a typo in README.md (#4647)Julian Gong
Co-authored-by: Julian Gong <julian@meds.com>
2023-09-17Fix #4499 - Fix solhint >= 3.4.0w0rp
Fix solhint for versions >= 3.4.0, while still supporting older versions. The solhint linter code has been moved out of the `handlers` directory as it does not need to be shared between different filetypes. Code has been simplified. Co-authored-by: Henrique Barcelos <16565602+hbarcelos@users.noreply.github.com>
2023-09-16Close #4541 - Fix Haskell project root detectionw0rp
We weren't joining and returning paths correctly for detecting project roots for Haskell projects, and now we are. Co-authored-by: Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com>
2023-09-16Fix #4505 - Handle spaces in markdown fencesw0rp
2023-09-16Fix #3115 - Fix environment variable quoting on Windowsw0rp
2023-09-16#4454 Clean up more tests and codew0rp
* Remove some tests we no longer need * Delete blocks of redundant code * Compress some tests together to simplify them * Remove a little code for ancient linter versions * Escape more executables we didn't escape before * Rename a deno option that didn't match our conventions
2023-09-16Fix grammar in ale-java.txt (#4611)pokir
2023-09-16Stop supporting ale_lsp_rootw0rp
We renamed the ale_lsp_root setting to ale_root long ago. Stop supporting the old setting name.
2023-09-16Close #4458 - Add an ALEStopLSP commandw0rp
Add an ALEStopLSP command to stop all language servers that match a given name. Completions are available for the command. This makes it possible to keep other language servers running other than the one you're interested in stopping.
2023-09-14#4607 No conflicts with nvim-lspconfig by defaultw0rp
Default `g:ale_disable_lsp` to a new mode `'auto'` by default. With this setting applied, ALE will now check for the presence of nvim-lspconfig and automatically turn off particular LSP linters if already configured via nvim-lspconfig. For users that do not use `nvim-lspconfig`, everything should work as before.
2023-09-13Add support for Packwerk (#4594)ymap
Packwerk (https://github.com/Shopify/packwerk) is a Ruby gem used to enforce boundaries and modularize Rails applications.
2023-09-11Add lexical for linting elixir projects (#4580)Axel Clark
2023-09-10Print the most severe problem with virtualtextw0rp
Fix the ordering of virtualtext so we print the most severe problem on a line. If two problems are the most severe, we will print the left-most problem.
2023-09-10Show a single virtualtext message by defaultw0rp
Show only a single virtualtext message per line by default. The setting can be configured to whatever the user wants. This default prevents several linters from spamming the editor with messages that run off into the right margin. Documentation now clarifies that problems have a predictable order, and which message will come first.
2023-09-09fix(json): update vscode json lsp name (#4601)Peter Benjamin
* fix(json): update vscode json lsp name * fix(vscodejson): fallback to previous name Co-authored-by: w0rp <devw0rp@gmail.com>
2023-09-09Remove backwards compatibility with ancient setting namesw0rp
2023-09-09Close #4481 Try .venv first, drop ve-py3w0rp
.venv was going to be the officially recommended default virtualenv directory name in PEP 704, which was not accepted. Still, poetry uses this name by default, as do other projects. We can deem it the first name we should try to search for. ve-py3 was a directory name I can't find mentions of online, and was used in my own projects during the days of migrating from Python 2 to 3. We can just drop it, and people can update their settings if they still need it.
2023-09-09#4442 - Use the same default signs as Neovim diagnosticsw0rp
2023-09-09Close #4442 - Use Neovim diagnostics by defaultw0rp
Use Neovim's diagnostics API by default in recent enough Neovim versions. This will make problems found by ALE play nicely with problems found by other tools.
2023-09-09Clean up documentation typos and formattingw0rp
2023-09-09Add `--globals vim` to luacheck automaticallyw0rp
luacheck will run with `--globals vim` automatically if the file is in runtimepath and `--globals` hasn't already been configured.
2023-09-09#4442 Display error codes in Neovim diagnosticsw0rp
2023-09-08#4442 Configure signs in Neovim diagnosticsw0rp
Respect ALE's options to enable/disable signs in Neovim diagnostics, and use ALE's priority setting.