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
AWK |  |
Bash | shellcheck | shellcheck
Bicep | bicep | bicepAUR
C# |  |
C3 |  |
C, C++, Objective-C | clang-tidy, cppcheck, cpplint | clang, cppcheck, python-cpplint
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 | eslint
D | dscanner | dscanner
Dart | linter | dart
Dhall | dhall lint | dhall
Dockerfile, Dockercompose | dockle | dockleAUR
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 | typos, codespell, megalinter | typos, codespell
Gleam | gleam check | gleam
GOlang | revive, staticcheck | revive, staticcheck
GraphQL | graphql-schema-linter |
Groovy | groovy-lint |
Haskell | hlint, stan | hlint, haskell-stanAUR
Haxe | haxe-checkstyle |
HTML | tidy, htmlhint | tidy, htmlhintAUR
Janet | janet --flycheck | janet-langAUR
Java | checkstyle | checkstyleAUR
JavaScript | denols | eslint
JSON | jsonls | biome
Julia | ReLint |
KDL |  |
Kotlin | ktlint | ktlint
Lean |  |
Lua | luacheck | luacheck
Makefile |  |
Markdown | markdownlint | markdownlint
Meson | muon analyze | muon-mesonAUR
Mojo |  |
Nginx | Gixy-Next | gixy-nextAUR
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 | noverify, intelephense | noverifyAUR
PowerShell | megalinter
PureScript | purescript-whine |
Python | ruff | ruff
QML | qmllint | qt5-declarative
R | lintr | r-lintrAUR
Racket | racket-review |
ReScript | rescript-linter |
Roc |  |
Rome | biome | biome
Ruby | rubocop | rubocop
Rust | rust-clippy | rust
Scala | scalafix |
SQL | sqlfluff | sqlfluff
Standard ML |  |
Svelte | eslint-plugin-svelte | eslint
Swift | SwiftLint, | swiftlintAUR
SystemVerilog | svlint | svlintAUR
Terraform | tflint | tflint
TOML | taplo, tombi | taplo-cli, tombi
(La)TeX | texlive | texlive-binextra
TypeScript | typescript-eslint |
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