Azure / Azure/bicep

The linter ruleset should be versionable

Open
#4,719 3 comments 0 reactions 0 assignees View on GitHub
devdiv enhancement FY25Q4 story: linter
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

At some point we will introduce the ability to treat warnings as errors. At that point, if we add a new linting rule it could be a breaking change, so we should have the ability to pin the linter rule set to a specific version in `bicepconfig.json`. Something like:

```json
{
"analyzers": {
"core": {
"ruleSetVersion": "x.y.z"
...
}
}
}
```

cc @marcusfelling @StephenWeatherford

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how analyzers are configured in bicepconfig.json and how the current linter rule set is selected. Define the versioning and compatibility behavior, then verify that a configured ruleSetVersion can be honored without unexpectedly changing the active rules.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.