Overview of linters
A linter is a software tool that analyzes codebase for bugs, errors, and other mistakes that impact its quality and can cause problems. Basically, each Qodana linter is associated with a specific programming language and helps you:
Detect anomalous code and probable bugs
Eliminate dead code
Highlight spelling problems
Improve overall code structure
Introduce coding best practices
Check third-party license compatibility. This feature is available in several linters
Upload analysis reports to Qodana Cloud
Currently, several linters provide inspections for several programming languages.
Project languages | Supported by linters / linter name and tags |
---|---|
![]() | Qodana for JVM / Qodana Community for JVM / Qodana Community for Android / Qodana for Android / |
![]() | Qodana for PHP / |
![]() | Qodana for JS / Qodana for PHP / Qodana for .NET / Qodana for JVM / Qodana for Android / Qodana for Python / Qodana for Go / Qodana for Ruby / |
![]() | Qodana for .NET / Qodana Community for .NET / Qodana Community for C/C++ / Qodana for C/C++ / |
![]() | Qodana for Python / Qodana Community for Python / |
![]() | Qodana for Go / |
![]() | Qodana for Ruby / |
* Using tags, you can pull pre-configured Qodana images:
For the Qodana for C/C++ linter, in the
-clangXX
tag specify the Clang-Tidy version from 15 to 18.For the Qodana for Ruby linter, in the
-ruby3.X
tag specify the Ruby version from 3.1 to 3.4.
Using the -privileged
tag, you can run Qodana in the privileged mode to execute commands that require root access. In this case, Qodana comes with a default qodana
user that possesses root privileges and does not require a password.