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

[suppressions] Allow suppressing individual rules within a tool #31865

Open
mikeharder opened this issue Dec 12, 2024 · 0 comments
Open

[suppressions] Allow suppressing individual rules within a tool #31865

mikeharder opened this issue Dec 12, 2024 · 0 comments
Assignees

Comments

@mikeharder
Copy link
Member

Add property "rules", which is a list of strings that are regexes matched against rule names.

export interface Suppression {
  tool: string;
  rules?: string[];
  paths: string[];
  reason: string;
}

Example:

- tool: TypeSpecValidation
  path: specification/monitor/**/tspconfig.yaml
  rules:
    - tspconfig-*-contains-package-name
    - tspconfig-js-*
@mikeharder mikeharder self-assigned this Dec 12, 2024
@mikeharder mikeharder moved this from 🤔 Triage to 🐝 Dev in Azure SDK EngSys 🚢🎉 Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant