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

Consider add a new linter rule set for brownfield services #2253

Open
pshao25 opened this issue Feb 24, 2025 · 0 comments
Open

Consider add a new linter rule set for brownfield services #2253

pshao25 opened this issue Feb 24, 2025 · 0 comments
Labels
design:needed A design request has been raised that needs a proposal lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library triaged:core
Milestone

Comments

@pshao25
Copy link
Member

pshao25 commented Feb 24, 2025

Current behavior is we have only one rule set "@azure-tools/typespec-azure-rulesets/resource-manager" to force users follow the best practices. However, lots of brownfield RP APIs predate ARM guidance, or were granted exceptions in review, and those APIs will need to suppress this rule. To give an example, our customer is a proxy resource and doesn't have a delete operation. According to their document, encryption scope cannot be deleted but can be disabled. We might consider having a linter rule set specially for brownfield services which doesn't have such strict rules as "@azure-tools/typespec-azure-rulesets/resource-manager" does.

@markcowl markcowl added design:needed A design request has been raised that needs a proposal lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library labels Feb 26, 2025
@markcowl markcowl added this to the Backlog milestone Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design:needed A design request has been raised that needs a proposal lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library triaged:core
Projects
None yet
Development

No branches or pull requests

2 participants