Skip to content

How to exclude target paths using an existing IntelliJ IDEA inspection profile #175

Answered by brichbash
Tereo725 asked this question in Q&A
Discussion options

You must be logged in to vote

Do i have to change my CI/CD steps for qodana? Where do i have to refere to the profile.yaml? Or does this part stay the same and I write in the Qodana.yaml something like this:
profile:
path: relative/path/in/your/project/profile.yaml

You can either set a path to the yaml profile in qodana.yaml or you can do it by adding the flag --profile-path to your script, it's up to you. Your exclude rules from qodana.yaml will still work.

We would like to have an across-the-board ruleset that we can use in IntelliJ as well as in GitLab.

In this case, creating a shared scope(s) and using it in your inspection profile should suit you better. You can configure scopes for each inspection or group o…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Tereo725
Comment options

@Tereo725
Comment options

@brichbash
Comment options

Answer selected by Tereo725
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants