Skip to content

Commit c6003d3

Browse files
committed
update:
1 parent e970473 commit c6003d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.date: 07/29/2022
77

88
# Linter rule - prefer unquoted property names
99

10-
This rule finds unnecessary single quotes when an object property name is declared and when an object property is dereferenced with array access.
10+
This rule finds unnecessary single quotes where an object property name is declared and where an object property is dereferenced with array access.
1111

1212
In Bicep, quotes are optionally allowed when the object property keys contain number or special characters. For example space, '-', or '.'. For more information, see [Objects](./data-types.md#objects).
1313

@@ -35,7 +35,7 @@ var x2 = obj['1'] // Quotes and square brackets are required.
3535
var x3 = obj['myProp'] // Use obj.myProp instead.
3636
```
3737

38-
You can fix it by removing the unnecessary quotes
38+
You can fix it by removing the unnecessary quotes:
3939

4040
```bicep
4141
var obj = {

0 commit comments

Comments
 (0)