Skip to content

Commit b5be815

Browse files
OgeonX-AiAitomates
andauthored
fix: enable use-recent-api-versions bicep lint rule (#11)
* fix: enable use-recent-api-versions bicep lint rule - Change use-recent-api-versions from off to warning in bicepconfig.json - Warning (not error) avoids a first-time hard-fail surface since there is no CI gate yet to enforce it * chore: ignore az bicep build output (infra/main.json) - az bicep build --file infra/main.bicep emits a compiled ARM template that was previously untracked; ignore it as generated build output --------- Co-authored-by: Kim Harjamäki <kim.harjamaki@prosimo.fi>
1 parent c1585ee commit b5be815

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
*.local.bicepparam
55
*.whatif.json
66
*.whatif.txt
7+
infra/main.json
78

bicepconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"simplify-interpolation": { "level": "warning" },
3434
"simplify-json-null": { "level": "warning" },
3535
"use-parent-property": { "level": "warning" },
36-
"use-recent-api-versions": { "level": "off" },
36+
"use-recent-api-versions": { "level": "warning" },
3737
"use-resource-id-functions": { "level": "warning" },
3838
"use-resource-symbol-reference": { "level": "warning" },
3939
"use-safe-access": { "level": "warning" },

0 commit comments

Comments
 (0)