Azure / Azure/bicep

BICEP MSBUILD Task Should Allow Enforcing File Format

Open
#10,976 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

**Is your feature request related to a problem? Please describe.**
The MSBuild task for BICEP processing should include an option to validate the format of the input file.

**Describe the solution you'd like**
To maintain a consistent set of BICP files it would be useful to have functionality in the MSBuild task to enforce standard formatting (i.e. the format that would be used if the bicep format command was used) on the source file. Bonus points if the task included an optional flag to allow automatic reformatting of the source file.

Contributor guide

Open the contributing guide

Research direction

Locate the Bicep MSBuild task and inspect how it processes input files. Compare its behavior with the bicep format command, then define validation and optional rewriting behavior; done means the task can enforce standard formatting and, when enabled, reformat source files.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.