Lint - ArchWiki

Jump to content

# Lint

From ArchWiki

Related articles

- Language Server Protocol
- Debug adapter protocol
- Formatter

Linting is the process of running a program that will analyse code for potential errors.

Linters can be installed natively using the following packages. If your programming language is not in the list, search in the Arch official repositories or in the AUR.

Tip If you want live linting suggestions inside your text editor, see Language Server Protocol page.

Language | Linters | Linter packages
--- | --- | ---
Ada/SPARK |  |
Angular | eslint | eslint
Ansible | ansible-lint | ansible-lint
Arduino | arduino-lint |
Assembly |  |
Astrojs | eslint | eslint
Autotools |  |
AWK | gawk --lint | gawk
Bash | shellcheck, shellharden | shellcheck, shellharden
Bazel | buildifier | buildifierAUR
Bicep | bicep | bicepAUR
C# |  |
C3 |  |
C, C++, Objective-C | clang-tidy, cppcheck, cpplint | clang, cppcheck, python-cpplintAUR
Cabal | cabal check, stan | cabal-install, haskell-stanAUR
Clojure | clj-kondo | clj-kondo-binAUR
CMake | cmake-lint | cmake-lintAUR
Crystal | ameba | amebaAUR
CSS, LESS, SASS | eslint, stylelint, biome | eslint, stylelintAUR, biome
D | dscanner | dscanner
Dart | linter | dart
Dhall | dhall lint | dhall
Dockerfile, Dockercompose | dockle, hadolint | dockleAUR, hadolint-binAUR
DOT |  |
Elixir | credo |
Elm | elm-review |
Erlang | erlang | erlang
F# | fsharplint | fsharplint-binAUR
Fennel |  |
Fish |  |
Flow | flow | flowAUR
Fortran | fortitude | fortitude-binAUR
GDScript | gdtoolkit | python-gdtoolkitAUR
General purpose | megalinter |
Gleam | gleam check | gleam
GOlang | revive, staticcheck | revive, staticcheck
GraphQL | biome, graphql-schema-linter | biome
Groovy | groovy-lint |
Haskell | hlint, stan | hlint, haskell-stanAUR
Haxe | haxe-checkstyle |
HTML | tidy, htmlhint, biome | tidy, htmlhintAUR, biome
Janet | janet --flycheck | janet-langAUR
Java | checkstyle | checkstyleAUR
JavaScript | eslint, biome, oxlint, deno lint | eslint, biome, oxlintAUR, deno
JSON | biome | biome
Julia | ReLint |
Just |  |
KDL |  |
Kotlin | ktlint | ktlint
Kubernetes | KubeLinter | kube-linter
Lean |  |
Lua | luacheck, selene | luacheck, selene
Makefile | checkmake, mbake | checkmake-binAUR, mbakeAUR
Markdown | markdownlint | markdownlint
Meson | muon analyze | muon-mesonAUR
Mojo |  |
Natural language | typos, codespell | typos, codespell
Nginx | Gixy-Next | gixy-nextAUR
Nickel |  |
Nim | nim check | nim
nix | statix | statix-gitAUR
Nushell | nu-check | nushell
OCaml, Reason | typerex | ocaml-typerexAUR
Odin | odin check | odin
OmniSharp | omnisharp | omnisharp-roslynAUR
Perl | perlcritic | perl-perl-critic
PHP | psalm, noverify, PHPStan | psalm, noverifyAUR, phpstan-binAUR
Pkl |  |
Pony |  |
PowerShell | megalinter
PureScript | purescript-whine |
Python | ruff | ruff
QML | qmllint | qt5-declarative
R | lintr | r-lintrAUR
Racket | racket-review |
ReScript | rescript-linter |
Roc |  |
RST | rstcheck, restructuredtext-lint | rstcheck, python-restructuredtext_lintAUR
Ruby | rubocop | rubocop
Rust | rust-clippy | rust
Scala | scalafix |
Solidity | solhint |
SQL | sqlfluff | sqlfluff
Standard ML |  |
Svelte | eslint-plugin-svelte | eslint
Swift | SwiftLint, | swiftlintAUR
Systemd | systemdlint | systemdlintAUR
SystemVerilog | svlint | svlintAUR
Tcl | tclint |
Terraform | tflint, tfsec | tflint, tfsecAUR
TOML | taplo, tombi | taplo-cli, tombi
(La)TeX | texlive | texlive-binextra
TypeScript | biome, oxlint, deno lint | biome, oxlintAUR, deno
Typst |  |
V |  |
Vala | vala-lint | vala-lint-gitAUR
Vimscript | Vint | vint
Vue | eslint | eslint-plugin-vueAUR
WebAssembly |  |
XML | tidy | tidy
YAML | yamllint | yamllint
Zig | zlint | zlintAUR
Zsh |  |

## See also

- Comprehensive list of linters

Category:

- Programming languages

Lint
Add topic