-
Notifications
You must be signed in to change notification settings - Fork 754
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
[Story] Provide a linter for Bicep #428
Comments
If/when we do a linter, we'd like to have certain things show up as you are authoring the bicep file in VS code, but there may also be certain things that would only be checked at |
MVP Scope
Initial rules:
Phase 2
|
Question: Location uses parameter. Typically I use var location = resourceGroup().location. Is this a poor practice? |
@jabbera Using the |
Is the linter likely to be available in the CLI? e.g. |
The linter rules will be evaluated on a |
@alex-frankel Cool. I'm thinking about how to run this in a CI/CD pipeline. The I guess the workaround for now would be to update the |
Yep, exactly. I wouldn't necessarily say it's a workaround, since we chose to make linter violations warnings. That being said I can see a |
@alex-frankel I've created a feature request: #2811 |
That also goes to my thoughts that people will want to disable lint or config it via command-line args and not a config file. For instance, in the quick-starts pipeline. For now I can add a config on disk. |
It's probably too early to ask, but please provide a linter for Bicep (just like what ARM-TTK does for ARM Template) so it's easier to leverage Bicep in a CI/CD pipeline in the future.
And also, when the linter is available, please make it available in the GitHub Super Linter container image.
The text was updated successfully, but these errors were encountered: