Skip to content

feat: new Bicep linter rule use-parameter-descriptions#20036

Open
johnlokerse wants to merge 3 commits into
Azure:mainfrom
johnlokerse:johnlokerse/new-linter-rule-param-descriptions
Open

feat: new Bicep linter rule use-parameter-descriptions#20036
johnlokerse wants to merge 3 commits into
Azure:mainfrom
johnlokerse:johnlokerse/new-linter-rule-param-descriptions

Conversation

@johnlokerse

@johnlokerse johnlokerse commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Description

This change adds a new Bicep linter rule called use-parameter-descriptions. Default the rule level is off but when set to error it checks if the parameter has either the @sys.description or @description decorator above a parameter. Additionally, it checks if the description is not empty.

@anthony-c-martin @stephaniezyen This implements issue #9453 and #5595.

Example Usage

It works through the bicep linter command or using the VSCode extension:

CleanShot 2026-07-10 at 10 50 14

Checklist

Microsoft Reviewers: Open in CodeFlow

@johnlokerse

Copy link
Copy Markdown
Contributor Author

Documentation is needed for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant