Skip to content

Commit

Permalink
Fix @azure-tools/typespec-azure-core/non-breaking-versioning should…
Browse files Browse the repository at this point in the history
… actually be part of resource-manger (#906)

Wrongly removed from both ruleset previously but the previous behavior
of `typespec-resource-manager/all` was to have it included.
  • Loading branch information
timotheeguerin authored May 22, 2024
1 parent 0aecbcf commit 4be1916
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/typespec-azure-rulesets"
---

Add `@azure-tools/typespec-azure-core/non-breaking-versioning` back into `resource-manager` ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,11 @@ export default {
"@azure-tools/typespec-azure-core/use-standard-names": true,
"@azure-tools/typespec-azure-core/use-standard-operations": true,
"@azure-tools/typespec-azure-core/no-string-discriminator": true,
"@azure-tools/typespec-azure-core/non-breaking-versioning": true,

// Azure core not enabled - Arm has its own conflicting rule
"@azure-tools/typespec-azure-core/bad-record-type": false,

// Azure core rules enabled via an optional rulesets
"@azure-tools/typespec-azure-core/non-breaking-versioning": false,

// Azure resource manager
"@azure-tools/typespec-azure-resource-manager/arm-no-record": true,
"@azure-tools/typespec-azure-resource-manager/arm-common-types-version": true,
Expand Down

0 comments on commit 4be1916

Please sign in to comment.