summaryrefslogtreecommitdiff
path: root/ale_linters
AgeCommit message (Collapse)Author
2021-02-11mypy: Pass user options before any others (#3582)Daniel Leong
This enables us to use a custom `python` exe as the "mypy" executable and pass `-m mypy` in `mypy_options`
2021-02-11Verilator current file search path (#3500)Tarik Graba
* Simplify verilator linter using ale command format strings * Verilator Linter: Restructure linter command tests * Verilator Linter: adds to the handler test the returned filename * Verilator Linter: add the current file path to the search path * Verilator Linter: Add the search path to the tests Co-authored-by: TG <tarik.graba@telecom-paris.fr>
2021-02-06Fix #3579 - Escape cppcheck arguments for Windowsv3.1.0w0rp
2021-02-06Merge pull request #3571 from rfwatson/gopls-add-init-optionsHoracio Sanson
gopls: add go_gopls_init_options
2021-02-06Merge pull request #3568 from jD91mZM2/jqHoracio Sanson
Add jq linter for JSON diagnostics
2021-02-06Reuse ale#fixers#jq#GetExecutable for jqjD91mZM2
2021-02-03gopls: add go_gopls_init_optionsRob Watson
2021-02-02add filename to outputAlexey Kreshchuk
2021-02-02Add command callback testjD91mZM2
2021-02-02Merge pull request #3472 from m-ildefons/hadolintHoracio Sanson
hadolint: Recognize message type
2021-01-31#2547 Add a cfn-lint alias for cloudformationw0rp
2021-01-31Add jq linter for JSON diagnosticsjD91mZM2
2021-01-31Add linter for haskell-language-serveryen3
The patch adds a new linter for haskell-language-server (hls). hls is the integration point of haskell-ide-engine (hie) and ghcide.
2021-01-30Fix 2726 - fix terraform linter.Horacio Sanson
Instead of using `terraform fmt` for linting use `terraform validate` with json output.
2021-01-30Fix 3371 - Add terraform-ls supportHoracio Sanson
2021-01-273560 add vim 8.2 and nvim 0.4 to ci tests (#3561)Horacio Sanson
* Add vim82 and neovim04 to CI tests. * Fix test_sign_column_hightlighting test. In vim82 with verbose=1 the output of highlight command changes breaking the ale#sign#SetUpDefaultColumnWithoutErrorsHighlight(). This commit forces verbose=0 when the method starts and restores the previous value before exiting. * No return values in vim82 returns a numeric value instead of a empty string. * Fix test_reek_handler test The FuzzyJSONDecode() method catches E474 when it fails to parse the input as JSON but Vim8.2 throws E491 instead. This commit modifies the function to catch both E474 or E491. * Fix perl6 handler test. Perl6 handler catches json parse errors using the E474 error but in Vim82 it changed to E491. This commit modifies the handler so both errors are considered. * Fix list opening tests. In Vim 8.2 the call `range(1, bufnr('$'))` always returns quickfix buffers no matter if they are closed or not. Using `ls` does not show them but the above range will always include them. This new behavior breaks the ale#list#IsQuickfixOpen() method that in turn breaks many other things. This commit fixes this by using the getqflist() and getloclist() methods instead. * Fix test updates loclist test. For some reason in Vim 8.2 the sign offset seems to not reset between tests causing the sign_id to not match in the Assert. When the test is run individually it passes but when run as part of the whole suite the sign_id is off by one. Forcing the offset in the test setup seems to fix the issue. * Fix omnifunc completion test. For unknown reasons the SetCompletionResponse tests fail in Neovim 0.2 and 0.4. Unfortunatelly the only solution I found is to disable them for neovim. * Fix linter warnings * Fix smoker test. Add vim 8.2 to the list of versions that need some retires due to randomly failing tests. * Add docker image build job. Trying some clever trick to build the docker image if not available locally or in Docker hub. It uses the Dockerfile md5 checksum as tag so only when changes on that file occur will the image be downloaded or build. * Add labels to Docker image * Remove tests for middle versions 8.1 and 0.3.5 * Use same vader commit as appveyor * Implement image push to Docker Hub Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-01-27Merge pull request #3425 from pinicarus/custom-dialyzer-optionsHoracio Sanson
Custom erlang/dialyzer options
2021-01-25Merge pull request #3227 from Ma27/nixunstable-error-fmtHoracio Sanson
Update error-parser for `nix-instantiate` on Nix 2.4+
2021-01-24Update error-parser for `nix-instantiate` on Nix 2.4+Maximilian Bosch
In the (unreleased) Nix 2.4 the error-messages have been reformatted[1]. This patch aims to retain proper `.nix`-support in `ale`, for both stable Nix (2.3 and older) and unstable Nix (2.4 and newer). [1] https://github.com/NixOS/nix/pull/3590
2021-01-24fix(eclipselsp): org.eclipse.equinox.launcher_xxxx.jar file matching failedNiBo
2021-01-24Merge pull request #3557 from benknoble/dafny-filename-againHoracio Sanson
dafny: update filename handling
2021-01-23refactor(erlang/dialyzer): remove file placeholder from optionsPierre-Nicolas Clauss
Signed-off-by: Pierre-Nicolas Clauss <pinicarus@protonmail.com>
2021-01-23Merge remote-tracking branch 'upstream/master'Pierre-Nicolas Clauss
Signed-off-by: Pierre-Nicolas Clauss <pinicarus@protonmail.com>
2021-01-23dafny: update filename handlingD. Ben Knoble
cf. #3475, #3390
2021-01-23Merge branch 'master' into fix-swiplD. Ben Knoble
* master: (133 commits) Add rnix-lsp for Nix diagnostics and completion add spectral support for json add spectral handler add spectral linter for yaml doc: Fix linter issues doc: Add documentation for Deno feat: Add Deno lsp support feat: Add Deno fmt fixer Add document for apkbuild filetype Add tests for atools handler, basic and dealing with Error and Warning Test default linters for apkbuild Document new default linters for apkbuild Make apkbuild_lint and secfixes_check default for apkbuild filetype document support for apkbuild-lint and secfixes-check for apkbuild Add linters for apkbuild-lint and secfixes-check from atools Add handler for the output of atools Fix typos Add command callback tests Add support for standalone files Fix linting errors ...
2021-01-23swipl: style fixD. Ben Knoble
2021-01-23Merge pull request #3556 from jD91mZM2/rnixHoracio Sanson
Add rnix-lsp for Nix diagnostics and completion
2021-01-23Add rnix-lsp for Nix diagnostics and completionjD91mZM2
2021-01-23Merge pull request #3424 from maxice8/atoolsHoracio Sanson
Add support for Alpine Linux APKBUILD
2021-01-23add spectral support for jsontatsuya
2021-01-23add spectral handlertatsuya
2021-01-23add spectral linter for yamltatsuya
ci
2021-01-23Merge pull request #3533 from motato1/masterHoracio Sanson
Deno support for LSP and fixer
2021-01-23Merge pull request #2825 from thindil/masterHoracio Sanson
Added support for Ada Language Server
2021-01-22feat: Add Deno lsp supportMohammed Chelouti
2021-01-22Add linters for apkbuild-lint and secfixes-check from atoolsLeo
2021-01-23Merge pull request #3551 from fenuks/bugfix-3506Horacio Sanson
Fix clang-tidy ignoring compile-commands.json
2021-01-22Merge remote-tracking branch 'upstream/master'Bartek thindil Jasicki
2021-01-22Fix typosNelson Yeung
2021-01-22Add support for standalone filesNelson Yeung
2021-01-22Fix linting errorsNelson Yeung
2021-01-22Add dart analysis server linterNelson Yeung
2021-01-23Merge pull request #3519 from atsuya/feature/support-vala-lintHoracio Sanson
Add support for Vala-Lint
2021-01-22linters/xo: prefer function shorthandCharles B Johnson
2021-01-22xo: inline filetype handlingCharles B Johnson
2021-01-22linters/xo: consolidate xo lintersCharles B Johnson
2021-01-23use snake case for linter nameAtsuya Takagi
2021-01-23decide whether or not to run with config file based on the presence of ↵Atsuya Takagi
config filename value
2021-01-23allow setting vala-lint executableAtsuya Takagi
2021-01-23add a blank line before if statementAtsuya Takagi