From be1d193db7775da3aa78ac36c028a5aedd2149a3 Mon Sep 17 00:00:00 2001 From: Ronald Bosma Date: Wed, 5 Aug 2026 16:44:17 +0200 Subject: [PATCH 1/2] Add Bicep linter rules `no-hardcoded-outputs`, `no-unused-types` and `secure-params-in-parameters-file` to sample bicepconfig.json --- .../azure-resource-manager/bicep/bicep-config-linter.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/articles/azure-resource-manager/bicep/bicep-config-linter.md b/articles/azure-resource-manager/bicep/bicep-config-linter.md index 6b532d91c4e60..c27a6fc85364a 100644 --- a/articles/azure-resource-manager/bicep/bicep-config-linter.md +++ b/articles/azure-resource-manager/bicep/bicep-config-linter.md @@ -69,6 +69,9 @@ The following example shows the rules that you can configure. "no-hardcoded-location": { "level": "off" }, + "no-hardcoded-outputs": { + "level": "off" + }, "no-loc-expr-outside-params": { "level": "off" }, @@ -87,6 +90,9 @@ The following example shows the rules that you can configure. "no-unused-params": { "level": "warning" }, + "no-unused-types": { + "level": "warning" + }, "no-unused-vars": { "level": "warning" }, @@ -108,6 +114,9 @@ The following example shows the rules that you can configure. "secure-params-in-nested-deploy": { "level": "warning" }, + "secure-params-in-parameters-file": { + "level": "warning" + }, "secure-secrets-in-params": { "level": "warning" }, From 68eb8c32578308a4353d1b601faf10859e228cff Mon Sep 17 00:00:00 2001 From: Ronald Bosma Date: Wed, 5 Aug 2026 16:46:54 +0200 Subject: [PATCH 2/2] Sort linter rules in sample bicepconfig.json alphabetically --- .../azure-resource-manager/bicep/bicep-config-linter.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/articles/azure-resource-manager/bicep/bicep-config-linter.md b/articles/azure-resource-manager/bicep/bicep-config-linter.md index c27a6fc85364a..acdecfbc04f67 100644 --- a/articles/azure-resource-manager/bicep/bicep-config-linter.md +++ b/articles/azure-resource-manager/bicep/bicep-config-linter.md @@ -137,6 +137,9 @@ The following example shows the rules that you can configure. "use-recent-module-versions": { "level": "off" }, + "use-recognized-resource-type": { + "level": "warning" + }, "use-resource-id-functions": { "level": "off" }, @@ -146,9 +149,6 @@ The following example shows the rules that you can configure. "use-safe-access": { "level": "warning" }, - "use-recognized-resource-type": { - "level": "warning" - }, "use-secure-value-for-secure-inputs": { "level": "error" },