Skip to content

Commit 7e36248

Browse files
committed
Add warning to the linter rule articles with the default value of 'off'
1 parent 1edc178 commit 7e36248

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

articles/azure-resource-manager/bicep/linter-rule-explicit-values-for-loc-params.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@ title: Linter rule - use explicit values for module location parameters
33
description: Linter rule - use explicit values for module location parameters.
44
ms.topic: reference
55
ms.custom: devx-track-bicep
6-
ms.date: 02/12/2025
6+
ms.date: 06/19/2025
77
---
88

99
# Linter rule - use explicit values for module location parameters
1010

1111
This rule finds module parameters that are used for resource locations and may inadvertently default to an unexpected value.
1212

13+
> [!NOTE]
14+
> This rule is off by default. Change the level in [bicepconfig.json](./bicep-config-linter.md) to enable it.
15+
1316
## Linter rule code
1417

1518
Use the following value in the [Bicep configuration file](bicep-config-linter.md) to customize rule settings:

articles/azure-resource-manager/bicep/linter-rule-no-hardcoded-location.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@ title: Linter rule - no hardcoded locations
33
description: Linter rule - no hardcoded locations
44
ms.topic: reference
55
ms.custom: devx-track-bicep
6-
ms.date: 02/12/2025
6+
ms.date: 06/19/2025
77
---
88

99
# Linter rule - no hardcoded locations
1010

1111
This rule finds uses of Azure location values that aren't parameterized.
1212

13+
> [!NOTE]
14+
> This rule is off by default. Change the level in [bicepconfig.json](./bicep-config-linter.md) to enable it.
15+
1316
## Linter rule code
1417

1518
Use the following value in the [Bicep configuration file](bicep-config-linter.md) to customize rule settings:

articles/azure-resource-manager/bicep/linter-rule-no-loc-expr-outside-params.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@ title: Linter rule - no location expressions outside of parameter default values
33
description: Linter rule - no location expressions outside of parameter default values
44
ms.topic: reference
55
ms.custom: devx-track-bicep
6-
ms.date: 02/12/2025
6+
ms.date: 06/19/2025
77
---
88

99
# Linter rule - no location expressions outside of parameter default values
1010

1111
This rule finds `resourceGroup().location` or `deployment().location` used outside of a parameter default value.
1212

13+
> [!NOTE]
14+
> This rule is off by default. Change the level in [bicepconfig.json](./bicep-config-linter.md) to enable it.
15+
1316
## Linter rule code
1417

1518
Use the following value in the [Bicep configuration file](bicep-config-linter.md) to customize rule settings:

articles/azure-resource-manager/bicep/linter-rule-what-if-short-circuiting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Linter rule - what-if short circuiting
33
description: Linter rule - what-if short circuiting
44
ms.topic: reference
55
ms.custom: devx-track-bicep
6-
ms.date: 02/12/2025
6+
ms.date: 06/19/2025
77
---
88

99
# Linter rule - what-if short circuiting

0 commit comments

Comments
 (0)