Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message of BCP395 #13672

Closed
Tapanila opened this issue Mar 21, 2024 · 0 comments · Fixed by #14094
Closed

Improve error message of BCP395 #13672

Tapanila opened this issue Mar 21, 2024 · 0 comments · Fixed by #14094
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Tapanila
Copy link

Is your feature request related to a problem? Please describe.
I had following provider defined on bicep:

provider '[email protected]'

I received nice linter error BCP395 with following message:
"Declaring provider namespaces using the <providerName>@<version> expression has been deprecated. Please use an identifier instead."

It took me a while to undersand this error message and trial and error to fix it.

Describe the solution you'd like

I would like the error message to be improved. and I think it would make more sense if it would be following:

"Declaring provider namespaces using the "provider '<providerName>@<version>'" expression has been deprecated. Please use an 'provider <providerName>' instead."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants