Skip to content

Add ability to use use sub-rule matches on skip or warn lists #2251

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

Merged
merged 4 commits into from
Jul 27, 2022

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Jul 27, 2022

You can now add entries like yaml[document-start] to the skip_list or warn_list, instead of adding the entire rule, allowing you to have more granular filtering.

Closes: #2248
Closes: #1794

@ssbarnea ssbarnea requested a review from a team as a code owner July 27, 2022 15:03
@ssbarnea ssbarnea requested review from a team, ganeshrn, cidrblock and priyamsahoo July 27, 2022 15:03
@github-actions github-actions bot added the bug label Jul 27, 2022
You can now add entries like `yaml[document-start]` to the skip_list
or warn_list, instead of adding the entire rule, allowing you to have
more granular filtering.

Closes: ansible#2248
Closes: ansible#1794
Copy link
Contributor

@cognifloyd cognifloyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! A couple minor rewording suggestions.

ssbarnea and others added 3 commits July 27, 2022 16:48
@ssbarnea ssbarnea merged commit 1a9c031 into ansible:main Jul 27, 2022
@ssbarnea ssbarnea deleted the fix/schemas branch July 27, 2022 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

yamllint config with 'level': 'warning', will trigger fatal violation
2 participants