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

Fix missing canonical-versioning ruleset in arm lib #317

Merged
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: feature
packages:
- "@azure-tools/typespec-azure-resource-manager"
---

Add ruleset `canonical-versioning` to Azure Resource Manager library.
5 changes: 4 additions & 1 deletion packages/typespec-azure-resource-manager/src/linter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ export const $linter = defineLinter({
// TODO: Enable this rule once azure-rest-api-specs repo is ready (issue #3839)
[`@azure-tools/typespec-azure-resource-manager/${armCommonTypesVersionRule.name}`]: false,
},
extends: ["@azure-tools/typespec-azure-core/all"],
extends: [
"@azure-tools/typespec-azure-core/all",
"@azure-tools/typespec-azure-core/canonical-versioning",
tjprescott marked this conversation as resolved.
Show resolved Hide resolved
],
},
},
});
Loading