Skip to content

Commit fcd3e28

Browse files
committed
acrolinx
1 parent 8858493 commit fcd3e28

3 files changed

Lines changed: 15 additions & 17 deletions

File tree

articles/azure-resource-manager/bicep/linter-rule-prefer-unquoted-property-names.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ In Bicep, quotes are optionally allowed when the object property keys contain nu
1414

1515
## Linter rule code
1616

17-
Use the following value in the [Bicep configuration file](bicep-config-linter.md) to customize rule settings:
17+
To customize rule settings, use the following value in the [Bicep configuration file](bicep-config-linter.md).
1818

1919
`prefer-unquoted-property-names`
2020

2121
## Solution
2222

23-
Quotes are not required in following code:
23+
Quotes aren't required in following code:
2424

2525
```bicep
2626
var obj = {
@@ -55,8 +55,6 @@ var x3 = obj.myProp
5555

5656
Optionally, you can use **Quick Fix** to fix the issues:
5757

58-
linter-rule-prefer-unquoted-property-names-quick-fix
59-
6058
:::image type="content" source="./media/linter-rule-prefer-unquoted-property-names/linter-rule-prefer-unquoted-property-names-quick-fix.png" alt-text="The screenshot of Prefer unquoted property names quick fix.":::
6159

6260
## Next steps

articles/azure-resource-manager/bicep/linter-rule-use-stable-vm-image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Virtual machines shouldn't use preview images. This rule checks the following pr
1616

1717
## Linter rule code
1818

19-
Use the following value in the [Bicep configuration file](bicep-config-linter.md) to customize rule settings:
19+
To customize rule settings, use the following value in the [Bicep configuration file](bicep-config-linter.md)
2020

2121
`use-stable-vm-image`
2222

@@ -42,7 +42,7 @@ resource vm 'Microsoft.Compute/virtualMachines@2024-03-01' = {
4242
}
4343
```
4444

45-
You can fix it by using an image that does not contain the string `preview` in the imageReference.
45+
You can fix it by using an image that doesn't contain the string `preview` in the imageReference.
4646

4747
```bicep
4848
param location string = resourceGroup().location

articles/azure-resource-manager/bicep/quickstart-create-bicep-use-visual-studio.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,29 @@ ms.custom: devx-track-bicep
99

1010
# Quickstart: Create Bicep files with Visual Studio
1111

12-
This quickstart guides you through the steps to create a [Bicep file](overview.md) with Visual Studio. You'll create a storage account and a virtual network. You'll also learn how the Bicep extension simplifies development by providing type safety, syntax validation, and autocompletion.
12+
This quickstart guides you through the steps to create a [Bicep file](overview.md) with Visual Studio. You create a storage account and a virtual network. You also learn how the Bicep extension simplifies development by providing type safety, syntax validation, and autocompletion.
1313

14-
Similar authoring experience is also supported in Visual Studio Code. See [Quickstart: Create Bicep files with Visual Studio Code](./quickstart-create-bicep-use-visual-studio-code.md).
14+
Similar authoring experience is also supported in Visual Studio Code. See [Quickstart: Create Bicep files with Visual Studio Code](./quickstart-create-bicep-use-visual-studio-code.md).
1515

1616
## Prerequisites
1717

1818
- Azure Subscription. If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn) before you begin.
19-
- Visual Studio version 17.3.0 preview 3 or newer. See [Visual Studio Preview](https://visualstudio.microsoft.com/vs/preview/).
20-
- Visual Studio Bicep extension. See [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.visualstudiobicep).
19+
- Visual Studio version 17.3.0 preview 3 or newer. See [Visual Studio Preview](https://visualstudio.microsoft.com/vs/preview/).
20+
- Visual Studio Bicep extension. See [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.visualstudiobicep).
2121
- Bicep file deployment requires either the latest [Azure CLI](/cli/azure/) or the latest [Azure PowerShell module](/powershell/azure/new-azureps-module-az).
2222

2323
## Add resource snippet
2424

2525
Launch Visual Studio and create a new file named **main.bicep**.
2626

27-
Visual Studio with the Bicep extension simplifies development by providing pre-defined snippets. In this quickstart, you'll add a snippet that creates a virtual network.
27+
Visual Studio with the Bicep extension simplifies development by providing predefined snippets. In this quickstart, you add a snippet that creates a virtual network.
2828

2929
In *main.bicep*, type **vnet**. Select **res-vnet** from the list, and then press **[TAB]** or **[ENTER]**.
3030

3131
:::image type="content" source="./media/quickstart-create-bicep-use-visual-studio/add-snippet.png" alt-text="Screenshot of adding snippet for virtual network.":::
3232

3333
> [!TIP]
34-
> If you don't see those intellisense options in Visual Studio, make sure you've installed the Bicep extension as specified in [Prerequisites](#prerequisites). If you have installed the extension, give the Bicep language service some time to start after opening your Bicep file. It usually starts quickly, but you will not have intellisense options until it starts.
34+
> If you don't see those intellisense options in Visual Studio, make sure you've installed the Bicep extension as specified in [Prerequisites](#prerequisites). If you have installed the extension, give the Bicep language service some time to start after opening your Bicep file. It usually starts quickly, but you won't have intellisense options until it starts.
3535
3636
Your Bicep file now contains the following code:
3737

@@ -73,7 +73,7 @@ Notice **location** has a red curly underline. This indicates a problem. Hover y
7373

7474
## Add parameters
7575

76-
Now, we'll add two parameters for the storage account name and the location. At the top of file, add:
76+
Now, we add two parameters for the storage account name and the location. At the top of file, add:
7777

7878
```bicep
7979
param storageName
@@ -89,7 +89,7 @@ You have the following parameter:
8989
param storageName string
9090
```
9191

92-
This parameter works fine, but storage accounts have limits on the length of the name. The name must have at least 3 characters and no more than 24 characters. You can specify those requirements by adding decorators to the parameter.
92+
This parameter works fine, but storage accounts have limits on the length of the name. The name must have at least three characters and no more than 24 characters. You can specify those requirements by adding decorators to the parameter.
9393

9494
Add a line above the parameter, and type **@**. You see the available decorators. Notice there are decorators for both **minLength** and **maxLength**.
9595

@@ -122,9 +122,9 @@ param location string = resourceGroup().location
122122

123123
## Add resource
124124

125-
Instead of using a snippet to define the storage account, we'll use intellisense to set the values. Intellisense makes this step much easier than having to manually type the values.
125+
Instead of using a snippet to define the storage account, we use intellisense to set the values. Intellisense makes this step easier than having to manually type the values.
126126

127-
To define a resource, use the `resource` keyword. Below your virtual network, type **resource exampleStorage**:
127+
To define a resource, use the `resource` keyword. Below your virtual network, type **resource exampleStorage**:
128128

129129
```bicep
130130
resource exampleStorage
@@ -208,7 +208,7 @@ For more information about the Bicep syntax, see [Bicep structure](./file.md).
208208

209209
## Deploy the Bicep file
210210

211-
Bicep file deployment can't be done from Visual Studio yet. You can deploy the Bicep file by using Azure CLI or Azure PowerShell:
211+
Bicep file deployment can't be done from Visual Studio yet. You can deploy the Bicep file by using Azure CLI or Azure PowerShell:
212212

213213
# [CLI](#tab/CLI)
214214

0 commit comments

Comments
 (0)