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 |
---|---|
![]() | 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 .NET / Qodana Community for .NET / Qodana Community for C/C++ / Qodana for C/C++ / |
![]() | Qodana for Python / Qodana Community for Python / |
![]() | Qodana for Go / |
* The privileged mode lets you execute commands that need root access because in this case Qodana comes with a default qodana
user that possesses root privileges and does not require a password. To do it, in the linter name specify the -privileged
tag.
** You can run the Qodana for C/C++ linter in the privileged mode to execute commands that need root access because in this case Qodana comes with a default qodana
user that possesses root privileges and does not require a password. To do it, in the -clangXX
tag of the linter name specify the Clang-Tidy version from 15 to 18, and also specify the -privileged
tag.