Age | Commit message (Collapse) | Author |
|
ThriftCheck (https://github.com/pinterest/thriftcheck) is a linter for
Thrift IDL files.
|
|
* Used %s instead of std in
* Set lint_file to 1 for ansible-lint so it does not use temp files
* Fix test for ansible-lint
|
|
|
|
* feat(deno): move init options to handlers
* feat(deno): add deno lsp support for js files
* feat(deno): use default map option
* feat(docs): add deno import map option
* feat(deno): add tests for importMap option
* fix(deno): use full path in importMap
* feat(deno): remove deno as linter for js, separate PR
* fix(deno): test for executable
* fix(deno-test): include filename to simplify function
|
|
* Add poetry support to python linters and black fixer.
* Update python.vim to detect poetry project.
* Update ale.vim, add an option for poetry `g:ale_python_auto_poetry`.
* Update ale-python.txt, add poetry support.
* Add and update poetry related tests.
Co-authored-by: unc0 <unc0@users.noreply.github.com>
|
|
* racket: support racket-langserver lsp
* racket-langserver: find highest dir with init.rkt
* autoload/ale/racket: re-indent to 4 spaces
* racket: lint: sort supported tools
* racket: lint: function!
This is _not_ needed anymore, but the lint wants it. See :help E127
* racket-langserver: do not use new dict format
* racket: lint: use snake_case
* add tests for racket-langserver
* racket-langserver tests: correct result values
|
|
Co-authored-by: Horacio Sanson <horacio@allm.inc>
|
|
Allow define `clojure_clj_kondo_options` to customize command options
for `clj-kondo`.
The `--cache` in original command is now defined as default.
|
|
Erlang's erlc error format includes the column in OTP24.
See https://blog.erlang.org/My-OTP-24-Highlights/#column-number-in-warnings-and-errors
|
|
* Add yosys for verilog files.
* Add handler test for yosys.
* fix typo in yosys handler test
* fix array order in yosys handler test
* add yosys linter to filetype defaults test
* fix duplicate tag
* add 'yosys' to 'ale-supported-languages-and-tools.txt'
|
|
|
|
This is achieved by switching to JSON, which makes it much easier to
avoid confusion between an error message and the next one. It also
spares us from having to deal with regular expressions, and eliminates
some edge cases that no longer need to be tested.
|
|
As mentioned in #3722 palantir's python-language-server is no longer maintained.
The alternative is to use the community-driven https://github.com/python-lsp/python-lsp-server.
|
|
- Show hadolint rule number in vim gutter in addition to `ALEDetails`
- Capture and show error in case of syntax errors
- Add tests for error capture
- Adapt existing tests
fixes: #2333
fixes: #958
|
|
* Added an explicit stdin argument to ansible-lint >=5.0.0 (ansible_lint.vim).
This commit fixes the issue "<<NO OUTPUT RETURNED>>":
```
:ALEInfo
(finished - exit code 0) ['/bin/bash', '-c', ''ansible-lint'' --parseable-severity -x yaml < ''/tmp/vVyvn4B/7/test2.yml'']
<<<NO OUTPUT RETURNED>>>'
```
Reason: Ansible-lint ignores stdin when "-" or "/dev/stdin" is not
specified explicitly.
Tested with: ansible-lint 5.0.12 using ansible 2.11.2
* Update ansible-lint tests.
|
|
|
|
* Fix languageserver.vim to consider Renviron
* Update test_r_languageserver.vader
* Update credits
|
|
|
|
The -o/--option flag was removed in version 2.0.0 of rpmlint. Providing
this causes rpmlint to fail and provide no output. Only provide this
flag to rpmlint if the version is less than 2.0.0.
|
|
This allows the location list from one buffer to point to an issue in
another; previously, the error message would be shown but with no way to
jump to it.
|
|
* [PHP] PhpStan also looks for .dist config file
* Add tests
|
|
Fixes https://github.com/dense-analysis/ale/issues/3798.
|
|
Co-authored-by: w0rp <w0rp@users.noreply.github.com>
|
|
|
|
|
|
The ocaml filetype is currently used for several, different file
formats. This causes problems as not all tools support all formats.
New filetypes are introduced to support this separation, this needs some
changes in ale that are fortunately backwards-compatible.
These change add ocamlinterface file support for ocp-indent, merlin,
ocamlformat and ocaml-lsp. For ocaml-lsp I took the liberty to
add all recognised language ids, even if they are not supported.
ols has not been changed as the project has been abandoned since 2019.
|
|
|
|
* Don't use a temporary file for tflint
* set cwd for tflint
|
|
* Fix lintr.vim to consider Renviron
* Update test_lintr.vader to match lintr.vim fix
* Update credits
Co-authored-by: ourigen <ourigen [at] pm.me>
|
|
* fix: added support for local solhint executable
* feat: added support for matching parse errors
* test: added test for solhint command callback and handler
* chore: removed command callback test
* refactor: made solhint handler structure closer to eslint
|
|
|
|
|
|
|
|
* improve DMD handler
- ignore errors from other files
- catch 'Deprecation' as warning
- add tests
* adding filename key instead of filtering
* update dmd test
* fix test dmd windows
|
|
* v: add "v fmt" fixer.
* v: add "v" (build) linter.
* v: fix vlint complaints and add documentation.
* v: add tests.
* v: use ale#Pad().
|
|
* Add more parameters to the DMD linting command
fixes #3637
* adding tests for dmd linter
* adding dmd test for windows
|
|
|
|
* add support for clangd with CUDA
* add clangd with CUDA in supported-tools.md
* add doc for clangd with CUDA
|
|
* add support for svelte via svelteserver language server
* svelte: fix Vint error and add a `svelteserver` simple test.
Co-authored-by: Joakim Repomaa <mail@j.repomaa.com>
Co-authored-by: Joakim Repomaa <mail@jreinert.com>
|
|
|
|
* Add ale_python_pyls_options
* Add extra explanatory detail
* Fix alignment
* Fix test
|
|
|
|
|
|
|
|
* Fix texlab GetProjectRoot
* Fix indents in texlab#GetProjectRoot
* Prevent texlab from starting on every tex file
* Update texlab Vader tests
* Fix GetProjectRoot to return parent of .git
Previously, the function returned `../.git/`. We want the function to return the parent directory above that as the project root. This should help pass Vader tests.
|
|
Fix dmd not using dub
|
|
* Fix 3605 - set fallback for error detail
* Add use case with no detail key
Co-authored-by: Horacio Sanson <horacio@allm.inc>
|
|
Working directories are now set seperately from the commands so they
can later be swapped out when running linters over projects is
supported, and also better support filename mapping for running linters
on other machines in future.
|
|
* Fix ansible-lint linter definition.
Use ansible-lint's feature auto-detection instead of temporary file.
For auto-detection to work, ansible project has to be also a git repository.
Don't use yaml rules. These are checked by yamllint.
Refactor pattern to work with ansible-lint >=5.0 version.
Clean-up obsolete test cases.
* Pull Request changes
|
|
Co-authored-by: Horacio Sanson <horacio@allm.inc>
|