Azure / Azure/azure-sdk-tools

[LintDiff] Pin version of @microsoft.azure/openapi-validator-rulesets

Open
#7,613 6 comments 0 reactions 1 assignee Claimed by @konrad-jamrozik View on GitHub
Central-EngSys Spec PR Tools
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

LintDiff pins the version of `@microsoft.azure/openapi-validator`, but it does not pin the version of `@microsoft.azure/openapi-validator-rulesets`. `@microsoft.azure/openapi-validator` does not pin either. The end result is LintDiff is using `@microsoft.azure/openapi-validator-rulesets@latest`, which can break any time a new version is published.

Instead, LintDiff should somehow pin the version of `@microsoft.azure/openapi-validator-rulesets`, so it is only updated via a PR merged to LintDiff. LintDiff could pin the version directly, or `@microsoft.azure/openapi-validator` could pin instead of float.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.