Lint

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
buildifier
AUR
Bicep
bicep
bicep
AUR
C#
C3
C, C++, Objective-C
clang-tidy
,
cppcheck
,
cpplint
clang
,
cppcheck
,
python-cpplint
AUR
Cabal
cabal check
,
stan
cabal-install
,
haskell-stan
AUR
Clojure
clj-kondo
clj-kondo-bin
AUR
CMake
cmake-lint
cmake-lint
AUR
Crystal
ameba
ameba
AUR
CSS, LESS, SASS
eslint
,
stylelint
,
biome
eslint
,
stylelint
AUR
,
biome
D
dscanner
dscanner
Dart
linter
dart
Dhall
dhall lint
dhall
Dockerfile, Dockercompose
dockle
,
hadolint
dockle
AUR
,
hadolint-bin
AUR
DOT
Elixir
credo
Elm
elm-review
Erlang
erlang
erlang
F#
fsharplint
fsharplint-bin
AUR
Fennel
Fish
Flow
flow
flow
AUR
Fortran
fortitude
fortitude-bin
AUR
GDScript
gdtoolkit
python-gdtoolkit
AUR
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-stan
AUR
Haxe
haxe-checkstyle
HTML
tidy
,
htmlhint
,
biome
tidy
,
htmlhint
AUR
,
biome
Janet
janet --flycheck
janet-lang
AUR
Java
checkstyle
checkstyle
AUR
JavaScript
eslint
,
biome
,
oxlint
,
deno lint
eslint
,
biome
,
oxlint
AUR
,
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-bin
AUR
,
mbake
AUR
Markdown
markdownlint
markdownlint
Meson
muon analyze
muon-meson
AUR
Mojo
Natural language
typos
,
codespell
typos
,
codespell
Nginx
Gixy-Next
gixy-next
AUR
Nickel
Nim
nim check
nim
nix
statix
statix-git
AUR
Nushell
nu-check
nushell
OCaml, Reason
typerex
ocaml-typerex
AUR
Odin
odin check
odin
OmniSharp
omnisharp
omnisharp-roslyn
AUR
Perl
perlcritic
perl-perl-critic
PHP
psalm
,
noverify
,
PHPStan
psalm
,
noverify
AUR
,
phpstan-bin
AUR
Pkl
Pony
PowerShell
megalinter
PureScript
purescript-whine
Python
ruff
ruff
QML
qmllint
qt5-declarative
R
lintr
r-lintr
AUR
Racket
racket-review
ReScript
rescript-linter
Roc
RST
rstcheck
,
restructuredtext-lint
rstcheck
,
python-restructuredtext_lint
AUR
Ruby
rubocop
rubocop
Rust
rust-clippy
rust
Scala
scalafix
Solidity
solhint
SQL
sqlfluff
sqlfluff
Standard ML
Svelte
eslint-plugin-svelte
eslint
Swift
SwiftLint
,
swiftlint
AUR
Systemd
systemdlint
systemdlint
AUR
SystemVerilog
svlint
svlint
AUR
Tcl
tclint
Terraform
tflint
,
tfsec
tflint
,
tfsec
AUR
TOML
taplo
,
tombi
taplo-cli
,
tombi
(La)TeX
texlive
texlive-binextra
TypeScript
biome
,
oxlint
,
deno lint
biome
,
oxlint
AUR
,
deno
Typst
V
Vala
vala-lint
vala-lint-git
AUR
Vimscript
Vint
vint
Vue
eslint
eslint-plugin-vue
AUR
WebAssembly
XML
tidy
tidy
YAML
yamllint
yamllint
Zig
zlint
zlint
AUR
Zsh
See also
Comprehensive list of linters