Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation for -ignored-problems CLI switch #1110

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,15 @@ Here is the full syntax of the command:

* `-ignored-problems (-ip)`

A file that contains a list of problems that will be ignored in report.
The file must contain lines in form `<plugin_xml_id>:<plugin_version>:<problem_description_regexp_pattern>`
A file that contains a list of problems that will be ignored in the report.
The file must contain lines in the format `<plugin_xml_id>:<plugin_version>:<problem_description_regexp_pattern>`.
Both `plugin_xml_id` and `plugin_version` are optional.

Examples:

* `DevKit:242.19890.14:access to unresolved class org.foo.Foo.*` — ignore the plugin problem that occurs in the plugin with the identifier `DevKit` and version `242.19890.14`.
* `org.jetbrains.kotlin::access to unresolved class org.jetbrains.kotlin.compiler.*` — ignore the plugin problem for all versions of the Kotlin plugin.
* `access to unresolved class org.jetbrains.kotlin.compiler.*` — ignore the plugin problem for all plugins.

* `-keep-only-problems (-kop)`

Expand Down