summaryrefslogtreecommitdiff
path: root/test/handler
AgeCommit message (Collapse)Author
2021-09-11Robot framework rflint support (#3715)Samuel Branisa
* Create rflint.vim support for robot framework by creating ale definition for rflint syntax linter * robot framework - rflint support
2021-09-08Improve the thriftcheck handler pattern (#3893)Jon Parise
More recent versions of thriftcheck use a more compliant GCC-style output format which includes a space before the "severity" group. This matches similar tools, like shellcheck. This change adjusts the handler's pattern to parse this format in a backwards-compatible way (even though backwards compatibility isn't critical long-term as thriftcheck itself is close to its 1.0 release).
2021-09-03Cppcheck backwards compat 1.34 (#3887)tsjordan-eng
* Add support for cppcheck 1.34 * Add cppcheck 1.34 tests, correct pattern Co-authored-by: Tyler S. Jordan <tsjorda@sandia.gov>
2021-08-04Add a thriftcheck linter (#3852)Jon Parise
ThriftCheck (https://github.com/pinterest/thriftcheck) is a linter for Thrift IDL files.
2021-07-25Add support for `dart analyze` (#3825)ghsang
2021-07-12Add Yosys linter for Verilog files. (#3713)Nathan Sharp
* 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'
2021-07-09Add support for multiline messages (#3686)Grégoire Paris
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.
2021-07-05hadolint: multiple fixes and adapt expected format (#3678)Moritz Röhrich
- 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
2021-07-04Solidity solc linter compatible with 0.6/0.7/0.8 (#3763)Néstor Coppi
2021-07-04Change checkstyle's output sub_type to style (#3780)Frederick Zhang
2021-07-04racket/raco: add filename to loc list (#3777)D. Ben Knoble
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.
2021-06-19Close #3770 - Add support for checking circleci configsw0rp
2021-04-15Updated `solhint` linter to be able to use a local installation (#3682)Henrique Barcelos
* 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
2021-04-07apple-swift-format: linter and fixer with config swiftpm support (#3671)bosr
2021-03-30improve DMD handler (#3647)Remi Thebault
* 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
2021-03-26Add support for V: "v" (compiler) and "vfmt" fixer. (#3622)fiatjaf
* v: add "v fmt" fixer. * v: add "v" (build) linter. * v: fix vlint complaints and add documentation. * v: add tests. * v: use ale#Pad().
2021-03-21#3633 - Move linter tests into test/linterw0rp
2021-03-20#3633 - Put all dummy test files in test/test-filesw0rp
2021-03-19Add desktop-file-validatew0rp
2021-03-19Fix a typo in a test filenamew0rp
2021-03-14Check user systemd unit files with systemd-analyzew0rp
2021-03-04Fix 3605 - set fallback for error detail (#3606)Horacio Sanson
* Fix 3605 - set fallback for error detail * Add use case with no detail key Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-02-28Fix ansible-lint linter definition. (#3601)serapas
* 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
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-02add filename to outputAlexey Kreshchuk
2021-02-02Merge pull request #3472 from m-ildefons/hadolintHoracio Sanson
hadolint: Recognize message type
2021-01-30Fix tests on windowsHoracio Sanson
2021-01-30Fix 2726 - fix terraform linter.Horacio Sanson
Instead of using `terraform fmt` for linting use `terraform validate` with json output.
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-24Merge pull request #3557 from benknoble/dafny-filename-againHoracio Sanson
dafny: update filename handling
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-23Merge pull request #3424 from maxice8/atoolsHoracio Sanson
Add support for Alpine Linux APKBUILD
2021-01-23add spectral handlertatsuya
2021-01-23add spectral linter for yamltatsuya
ci
2021-01-22Add tests for atools handler, basic and dealing with Error and WarningLeo
2021-01-23Merge pull request #3519 from atsuya/feature/support-vala-lintHoracio Sanson
Add support for Vala-Lint
2021-01-23add test to check if it properly ignores outputs with unknown error typesAtsuya Takagi
2021-01-23add initial filesAtsuya Takagi
2021-01-22Add yamllint and prettier to openapi.Horacio Sanson
This commit enables yamllint and prettier on openapi files.
2021-01-22Fix 2777 - Add IBM openapi validatorHoracio Sanson
2021-01-20prolog/swipl: cover new format with complex testsHoracio Sanson
https://github.com/dense-analysis/ale/pull/3377#issuecomment-763628447
2021-01-20Merge pull request #3475 from benknoble/dafny-include-timeoutsHoracio Sanson
dafny: add a timeLimit option and message-parsing
2021-01-13Merge pull request #3494 from YorickPeterse/masterHoracio Sanson
Add linter for Inko
2021-01-06Merge pull request #3390 from benknoble/fix-dafny-filenameHoracio Sanson
dafny: include correct filename in lint results
2020-12-23Add linter for InkoYorick Peterse
This adds a linter for Inko (https://inko-lang.org/). The linter makes use of Inko's own compiler, and a newly introduced --check flag to only check for errors; instead of also compiling source code.
2020-12-17Add salt-lint supportBenjamin Binier
2020-11-30Merge remote-tracking branch 'origin/master' into fix-swiplD. Ben Knoble
* origin/master: (40 commits) fix: correct suggested filetype for yamlfix feat: add yamlfix fixer Use _config for LSP config options Add support for R languageserver (#3370) Fix 3103 - add shellcheck shell directive detection. (#3216) Added the Vundle command in installation instructions (#3400) Adds support for Tlint - A Tighten Opinionated PHP Linter (#3291) Add php phpcbf options (#3383) Use has('gui_running') instead of has('gui') Close #2727 - Add a hover-only setting for balloons Fix #3332 - Modify everything for rename/actions Add a missing blank line in documentation Add luafmt fixer (#3289) #3442 Fix code fix clangd issue Close #1466 - Add GVIM refactor menu support Look for node packages in .yarn/sdks as well Update documentation for code actions and rename cmp forwards, and reverse the code actions Support for LSP/tsserver Code Actions (#3437) Move the test for buffer-local variables ...
2020-11-30add testsD. Ben Knoble