mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 04:34:25 +08:00
* Added jq support Cleaned up yq.vim file * Updated docs * Updated supported-tools.md * Added yq tests * Fix python linting/formatting error when in virtual environment (#4865) Python fixers and linters were failing when vim is running in a virtual environment that's located in a path containing text `poetry`. The cause of this was the regular expression `poetry\|pipenv\|uv$` which matches `poetry` and `pipenv` if they appear anywhere in the virtualenv path. * Add cljfmt fixer for clojure files (#4860) * When using `actionlint` look for & use a config file (#4858) Actionlint supports a config file and it lives in a very searchable path, as the only files it acts on are in the `.github` directory already. Look for an `actionlint.yml` and `.yaml` in that path, and use the config if its there. * Fix linting with jq (#4765) (#4862) With the 1.6 version of jq the error message start with "parse error". With the last version of jq the error message start with "jq: parse error". Fix it by using a regular expression that works in both cases. * Properly handle optional end_line_no/end_line_pos in sqlfluff (#4867) end_line_no/end_line_pos are optional. Example SQL: `SELECT NULL FROM {{ a_jinja_templated_table }};` `sqlfluff lint --dialect ansi --format json` gives the following error among others: ``` {"start_line_no": 1, "start_line_pos": 21, "code": "TMP", "description": "Undefined jinja template variable: 'a_jinja_templated_table'", "name": "", "warning": false} ``` As one can see there is no end_line_no/end_line_pos. * Add golangci-lint fixer (#4853) Closes #4616 * Fixed copy-paste misstakes and added filter to docs * Added test vader file for yq * Fixed and updated the test case --------- Co-authored-by: Walter Kaunda <14844142+kwalter94@users.noreply.github.com> Co-authored-by: rudolf ordoyne <49649789+casens5@users.noreply.github.com> Co-authored-by: Bea Hughes <108035665+beahues@users.noreply.github.com> Co-authored-by: benjos1234 <legrimlvl24@gmail.com> Co-authored-by: Coacher <Coacher@users.noreply.github.com> Co-authored-by: Ian Stapleton Cordasco <graffatcolmingov@gmail.com>
34 KiB
34 KiB
ALE Supported Languages and Tools
This plugin supports the following languages and tools. All available tools will be run in combination, so they can be complementary.
Legend
| Key | Definition |
|---|---|
| 💾 | May only run on files on disk (see: help ale-lint-file-linters |
| ⚠️ | Disabled by default |
- Ada
- Ansible
- API Blueprint
- APKBUILD
- AsciiDoc
- ASM
- Astro
- AVRA
- Awk
- Bash
- Bats
- Bazel
- BibTeX
- Bicep
- bicep 💾
- BitBake
- Bourne Shell
- shell -n flag
- shellcheck
- shfmt
- C
- C#
- clang-format
- csc 💾 see:
help ale-cs-cscfor details and configuration - cspell
- dotnet-format
- mcs see:
help ale-cs-mcsfor details - mcsc 💾 see:
help ale-cs-mcscfor details and configuration - uncrustify
- C++ (filetype cpp)
- Cairo
- Chef
- Clojure
- CloudFormation
- CMake
- CoffeeScript
- Crystal
- CSS
- Cucumber
- CUDA
- Cypher
- Cython (pyrex filetype)
- D
- Dafny
- dafny 💾
- Dart
- desktop
- Dhall
- Dockerfile
- Elixir
- Elm
- Erb
- Erlang
- Fish
- fish -n flag
- fish_indent
- Fortran
- Fountain
- FusionScript
- Git Commit Messages
- Gleam
- GLSL
- Go
- GraphQL
- Groovy
- Hack
- Haml
- Handlebars
- Haskell
- HCL
- HTML
- Hurl
- Idris
- Ink
- Inko
- inko 💾
- ISPC
- ispc 💾
- Java
- JavaScript
- JSON
- JSON5
- eslint ⚠️
- JSONC
- Jsonnet
- Julia
- Kotlin
- kotlinc 💾
- ktlint
- languageserver see
:help ale-integration-kotlinfor configuration instructions
- LaTeX
- Less
- LLVM
- Lua
- Make
- Markdown
- MATLAB
- Mercury
- mmc 💾
- NASM
- nasm 💾
- Nickel
- Nim
- nix
- nroff
- Objective-C
- Objective-C++
- OCaml
- dune
- merlin see
:help ale-ocaml-merlinfor configuration instructions - ocamlformat
- ocamllsp
- ocp-indent
- ols
- Odin
- OpenApi
- OpenSCAD
- SCA2D 💾
- Packer (HCL)
- Pascal
- Pawn
- Perl
- Perl6
- perl6 -c ⚠️
- PHP
- cspell
- intelephense
- langserver
- phan see
:help ale-php-phanto instructions - php -l
- php-cs-fixer
- phpactor
- phpcbf
- phpcs
- phpmd
- phpstan
- pint 🍺
- psalm 💾
- tlint
- PO
- Pod
- Pony
- PowerShell
- Prolog
- proto
- Pug
- Puppet
- PureScript
- Python
- autoflake 💾
- autoimport
- autopep8
- bandit ⚠️
- black
- cspell
- flake8
- flakehell
- isort
- mypy
- prospector ⚠️ 💾
- pycln
- pycodestyle ⚠️
- pydocstyle ⚠️
- pyflakes
- pyflyby ⚠️
- pylama 💾
- pylint 💾
- pylsp ⚠️
- pyre ⚠️
- pyright
- refurb 💾
- reorder-python-imports
- ruff
- ruff-format
- unimport
- vulture ⚠️ 💾
- yapf
- QML
- R
- Racket
- Re:VIEW
- ReasonML
- merlin see
:help ale-reasonml-olsfor configuration instructions - ols
- reason-language-server
- refmt
- merlin see
- Rego
- reStructuredText
- Robot
- RPM spec
- rpmlint ⚠️ (see
:help ale-integration-spec)
- rpmlint ⚠️ (see
- Ruby
- Rust
- Salt
- Sass
- Scala
- SCSS
- Slim
- SML
- Solidity
- SQL
- Stylus
- SugarSS
- Svelte
- Swift
- systemd
- Tcl
- nagelfar 💾
- Terraform
- Texinfo
- Text
- alex ⚠️
- cspell
- languagetool 💾
- proselint ⚠️
- redpen ⚠️
- textlint ⚠️
- vale ⚠️
- write-good ⚠️
- Thrift
- TOML
- TypeScript
- V
- VALA
- Verilog
- VHDL
- Vim
- Vim help
- alex ⚠️
- proselint ⚠️
- write-good ⚠️
- Vue
- WGSL
- XHTML
- XML
- YAML
- YANG
- Zeek
- zeek 💾
- Zig