Azure / azure-api-style-guide

Spectral rules to check conformance to Azure API Guidelines
MIT License
45 stars 21 forks source link

Add az-boolean-names-convention rule #118

Closed mikekistler closed 1 year ago

mikekistler commented 1 year ago

Add the az-boolean-names-convention rule to flag boolean properties that violate the Azure naming guidance:

⛔ DO NOT use "is" prefix in names of boolean values, e.g. "enabled" not "isEnabled".

Also added az-boolean-param-names-convention for parameter names.

I wish I could have done both property and parameter names in one rule but that was too complicated.

mikekistler commented 1 year ago

Closing in favor of #126