Azure / Azure/bicep

Add configuration to use-recent-api-versions: preferStableVersions (true/false)

Open
#10,345 7 comments 0 reactions 0 assignees View on GitHub
devdiv story: linter rules
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

Additionally I would prefer to be able to configure the rule in a way to always warn me when there is a new version no matter the period and no matter that the new version is preview. We want to keep our templates up to date and currently this rule does not fully work in certain situations for us.

_Originally posted by @slavizh in https://github.com/Azure/bicep/issues/8869#issuecomment-1301915519_

Contributor guide

Open the contributing guide

Research direction

Start by locating the use-recent-api-versions rule and its existing configuration handling. Trace how it decides whether to warn for preview versions and time periods, then define completion as supporting a preferStableVersions true/false setting that allows warnings for newer preview versions regardless of those conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.