Qodana
A standard qodana.yaml (or qodana.yml) format for Qodana configuration. Documentation: https://jetbrains.com/qodana
| Type | object |
|---|---|
| File match |
qodana.yaml
qodana.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/qodana/latest.json |
| Source | https://www.schemastore.org/qodana-1.0.json |
Validate with Lintel
npx @lintel/lintel check
A configuration file for Qodana (https://jetbrains.com/qodana), named qodana.yaml or qodana.yml
Properties
The version of the file format
A profile is some template set of checks to run with Qodana analysis
Deprecated: Use failureConditions#anySeverity
The default running scenario
2 nested properties
The name of the script
The parameters to pass to the script
The linter (Docker image) to run for Qodana CLI / any CI extensions
The local path to an IDE or a product code to use for Qodana analysis. Incompatible with 'linter'
The command to run inside Docker before the analysis starts
Set JVM properties to be used while running Qodana
Configuration for .NET solutions and projects
Configuration for .NET solutions and projects
Configuration for Qodana for C/C++
1 nested properties
Name of a specific CMake preset to use during analysis
The JDK to use for the project
Configuration for PHP projects
1 nested properties
The PHP version to use for the code analysis
Disable sanity checks for the project
The strategy to apply fixes
Whether to run a curated set of promo inspections
Whether to include absent issues in the baseline calculation
Maximum amount of internal errors to collect in the report
Whether to fail the run when any internal error was encountered. In that case, the program returns exit code 70
2 nested properties
Configures maximum thresholds for different problem severities. Absent properties are not checked. If a baseline is given, only new results are counted
6 nested properties
The run fails if the total amount of results exceeds this number.
The run fails if the amount results with severity CRITICAL exceeds this number.
The run fails if the amount results with severity HIGH exceeds this number.
The run fails if the amount results with severity MODERATE exceeds this number.
The run fails if the amount results with severity LOW exceeds this number.
The run fails if the amount results with severity INFO exceeds this number.
Configures minimum thresholds for test coverage metrics. Absent properties are not checked
2 nested properties
The run fails if the percentage of total lines covered is lower than this number.
The run fails if the percentage of fresh lines covered is lower than this number
Which dependencies to exclude from the generated SBOM report
Which submodules to include. Omitting this key will include all submodules
Whether to include dev dependencies in the analysis
Using package-search service for fetching license data for dependencies (only for jvm libraries)
Show license problems like other inspections
Definitions
A profile is some template set of checks to run with Qodana analysis
The inspections to run in addition to those from the profile
The ID of the inspection to be added
The path in which to enable the inspection, relative to the project root. Omitting the paths enables the inspection everywhere
The inspections or paths to exclude from analysis
The ID of the inspection to exclude, or 'All'
The path in which to disable the inspection, relative to the project root. Omitting the paths disables the inspection everywhere
The default running scenario
The name of the script
The parameters to pass to the script
A license rule to apply for license compatibility checks in Qodana
The list of project license SPDX IDs
The list of allowed dependency licenses for the project
The list of prohibited dependency licenses for the project
A dependency to ignore for license checks in Qodana
The name of a dependency to ignore
A dependency metadata to override for license checks in Qodana
The dependency name
The dependency version
The dependency homepage
A dependency to add to license checks to Qodana
The dependency name
The dependency version
The dependency homepage
A license to apply for license compatibility checks in Qodana
The SPDX ID of the license
The license homepage
Configuration for .NET solutions and projects
Configuration for .NET solutions and projects
Configuration for Qodana for C/C++
Name of a specific CMake preset to use during analysis
Specifies the license of a dependency or project
SPDX id of this license
Homepage of this license
Configuration for PHP projects
The PHP version to use for the code analysis
A plugin to install for Qodana analysis
The plugin ID to install (can be copied from the plugin page on the JetBrains Marketplace)
Configures maximum thresholds for different problem severities. Absent properties are not checked. If a baseline is given, only new results are counted
The run fails if the total amount of results exceeds this number.
The run fails if the amount results with severity CRITICAL exceeds this number.
The run fails if the amount results with severity HIGH exceeds this number.
The run fails if the amount results with severity MODERATE exceeds this number.
The run fails if the amount results with severity LOW exceeds this number.
The run fails if the amount results with severity INFO exceeds this number.
Configures minimum thresholds for test coverage metrics. Absent properties are not checked
The run fails if the percentage of total lines covered is lower than this number.
The run fails if the percentage of fresh lines covered is lower than this number
Configures maximum thresholds for different problem severities. Absent properties are not checked. If a baseline is given, only new results are counted
6 nested properties
The run fails if the total amount of results exceeds this number.
The run fails if the amount results with severity CRITICAL exceeds this number.
The run fails if the amount results with severity HIGH exceeds this number.
The run fails if the amount results with severity MODERATE exceeds this number.
The run fails if the amount results with severity LOW exceeds this number.
The run fails if the amount results with severity INFO exceeds this number.
Configures minimum thresholds for test coverage metrics. Absent properties are not checked
2 nested properties
The run fails if the percentage of total lines covered is lower than this number.
The run fails if the percentage of fresh lines covered is lower than this number