File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
articles/azure-resource-manager/bicep Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
title : Linter rule - simplify JSON null
3
3
description : Linter rule - simplify JSON null
4
4
ms.topic : conceptual
5
- ms.date : 03/16 /2023
5
+ ms.date : 03/20 /2023
6
6
---
7
7
8
8
# Linter rule - simplify JSON null
@@ -17,7 +17,7 @@ Use the following value in the [Bicep configuration file](bicep-config-linter.md
17
17
18
18
## Solution
19
19
20
- The following example fails this test because ` json(null) ` is used.:
20
+ The following example fails this test because ` json(' null' ) ` is used.:
21
21
22
22
``` bicep
23
23
@description('The name of the API Management service instance')
@@ -68,7 +68,7 @@ resource apiManagementService 'Microsoft.ApiManagement/service@2022-08-01' = {
68
68
}
69
69
```
70
70
71
- You can fix the problem by replacing ` json('null') ` by ` null ` :
71
+ You can simplify the syntax by replacing ` json('null') ` by ` null ` :
72
72
73
73
``` bicep
74
74
@description('The name of the API Management service instance')
@@ -119,7 +119,7 @@ resource apiManagementService 'Microsoft.ApiManagement/service@2022-08-01' = {
119
119
}
120
120
```
121
121
122
- You can fix the issue automatically by selecting ** Quick Fix** as shown on the following screenshot:
122
+ You can simplify the syntax by selecting ** Quick Fix** as shown on the following screenshot:
123
123
124
124
:::image type="content" source="./media/linter-rule-simplify-json-null/bicep-linter-rule-simplify-json-null-quick-fix.png" alt-text="Screenshot of simplify JSON null quick fix.":::
125
125
You can’t perform that action at this time.
0 commit comments