bicep
bicep copied to clipboard
Auto-fix/refactoring idea: use safe deference and coalesce instead of contains and ternary operator
e.g. from @brwilkinson
I have a long list of global variable overrides in every Module ... so much easier to read...

Other comments:
Great idea! I think these types of codefix suggestions are super important for teaching people about new language features.
I make soft growling noise in the back on my throat every time there is a static analysis warning without a auto-fix.....
See https://github.com/Azure/bicep/discussions/10613 for gotchas