bicep
bicep copied to clipboard
The linter ruleset should be versionable
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:
{
"analyzers": {
"core": {
"ruleSetVersion": "x.y.z"
...
}
}
}
cc @marcusfelling @StephenWeatherford
Related to https://github.com/Azure/bicep/issues/2811
Whatever mechanism is used, ideally Intellisense for rule names (at least core ones) will work based on the rules available only in the specified ruleset version.
https://github.com/Azure/bicep/issues/8013