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

examples/rules: Illustrate the OrtResultRule #4499

Merged
merged 5 commits into from
Sep 24, 2021

Conversation

fviernau
Copy link
Member

Recently the rule type OrtResultRule has been added [1].
This PR adds an example.

[1] #4349

The initial implementation only had error(). Add the two analog
functions for the lower severities for completeness.

Signed-off-by: Frank Viernau <frank.viernau@here.com>
Prepare for adding an example rule which flags the use of deprecated
path exclude reasons.

Signed-off-by: Frank Viernau <frank.viernau@here.com>
examples/rules.kts Outdated Show resolved Hide resolved
Add a rule which flags the use of deprecated path excludes in the
repository configuration.

Signed-off-by: Frank Viernau <frank.viernau@here.com>
The size is asserted exactly by shouldContainExactlyInAnyOrder() right
below.

Signed-off-by: Frank Viernau <frank.viernau@here.com>
Signed-off-by: Frank Viernau <frank.viernau@here.com>
@fviernau fviernau force-pushed the examples-illustrate-ort-result-rule branch from 30b14b9 to 619d282 Compare September 24, 2021 10:48
@fviernau fviernau merged commit c5ae7f5 into master Sep 24, 2021
@fviernau fviernau deleted the examples-illustrate-ort-result-rule branch September 24, 2021 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants