linter should catch non-optimal scope references #2278
Labels
devdiv
Related to Bicep tooling efforts in DevDiv
enhancement
New feature or request
story: linter rules
Milestone
If you don't have a proper reference to a resource group (or other scope), you can provide a scope using the relevant scope function:
However, if you do have a reference, it is better to use that reference directly. This is a newer capability so there are old examples out there that use the previous way we exposed.
This is ideal if you have a reference:
But in practice we often see this less ideal pattern:
The text was updated successfully, but these errors were encountered: