bicep icon indicating copy to clipboard operation
bicep copied to clipboard

The linter ruleset should be versionable

Open alex-frankel opened this issue 4 years ago • 3 comments

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

alex-frankel avatar Oct 04 '21 20:10 alex-frankel

Related to https://github.com/Azure/bicep/issues/2811

MarcusFelling avatar Oct 04 '21 20:10 MarcusFelling

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.

StephenWeatherford avatar Oct 04 '21 21:10 StephenWeatherford

https://github.com/Azure/bicep/issues/8013

StephenWeatherford avatar Apr 17 '23 23:04 StephenWeatherford