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.
| Language
|
Linters
|
Linter packages
|
| Angular
|
eslint
|
eslint
|
| Ansible
|
ansible-lint
|
ansible-lint
|
| Arduino
|
arduino-lint
|
|
| Astrojs
|
eslint
|
eslint
|
| BASH
|
shellcheck
|
shellcheck
|
| Bicep
|
bicep
|
bicepAUR
|
| C, C++, Objective-C
|
clang-tidy, cppcheck, cpplint
|
clang, cppcheck, python-cpplint
|
| Clojure
|
clj-kondo
|
clj-kondo-binAUR
|
| CMake
|
cmake-lint
|
cmake-lintAUR
|
| Crystal
|
ameba
|
amebaAUR
|
| CSS, LESS, SASS
|
eslint
|
eslint
|
| D
|
dscanner
|
dscanner
|
| Dart
|
linter
|
dart
|
| Dockerfile, Dockercompose
|
dockle
|
dockleAUR
|
| Elixir
|
credo
|
| Elm
|
elm-review
|
|
| Erlang
|
erlang
|
erlang
|
| F#
|
fsharplint
|
fsharplint-binAUR
|
| Flow
|
flow
|
flowAUR
|
| Fortran
|
fortitude
|
fortitude-binAUR
|
| GDScript
|
gdtoolkit
|
python-gdtoolkitAUR
|
| General purpose
|
typos, codespell, megalinter
|
typos, codespell
|
| GOlang
|
revive, staticcheck
|
revive, staticcheck
|
| GraphQL
|
graphql-schema-linter
|
|
| Groovy
|
groovy-lint
|
| Haskell
|
hlint, stan
|
hlint, haskell-stanAUR
|
| Haxe
|
haxe-checkstyle
|
|
| HTML
|
htmlhint
|
htmlhintAUR
|
| Java
|
checkstyle
|
checkstyleAUR
|
| JavaScript
|
denols
|
eslint
|
| JSON
|
jsonls
|
biome
|
| Julia
|
ReLint
|
|
| Kotlin
|
ktlint
|
ktlint
|
| Lua
|
luacheck
|
luacheck
|
| Markdown
|
markdownlint
|
markdownlint
|
| Nim
|
nim-linter
|
| nix
|
statix
|
statix-gitAUR
|
| OCaml, Reason
|
typerex
|
ocaml-typerexAUR
|
| OmniSharp
|
omnisharp
|
omnisharp-roslynAUR
|
| Perl
|
perl-b-lint
|
perl-b-lintAUR
|
| PHP
|
noverify, intelephense
|
noverifyAUR
|
| PowerShell
|
megalinter
|
| PureScript
|
purescript-whine
|
|
| Python
|
ruff
|
ruff
|
| R
|
lintr
|
r-lintrAUR
|
| Racket
|
racket-review
|
|
| ReScript
|
rescript-linter
|
| Rome
|
biome
|
biome
|
| Ruby
|
rubocop
|
rubocop
|
| Rust
|
rust-clippy
|
rust
|
| Scala
|
scalafix
|
| SQL
|
sqlfluff
|
sqlfluff
|
| Svelte
|
eslint-plugin-svelte
|
eslint
|
| Swift
|
SwiftLint,
|
swiftlintAUR
|
| SystemVerilog
|
svlint
|
svlintAUR
|
| Terraform
|
tflint
|
tflint
|
| (La)TeX
|
texlive
|
texlive-binextra
|
| TypeScript
|
typescript-eslint
|
| Vala
|
vala-lint
|
vala-lint-gitAUR
|
| Vue
|
eslint
|
eslint-plugin-vueAUR
|
| YAML
|
yamllint
|
yamllint
|
| Zig
|
zlint
|
zlintAUR
|
See also