Skip to content

Commit f163fbb

Browse files
chore(documentation): #347 document use of quotes in strings - add review results to DEVELOPMENT.md
1 parent c3fbfe3 commit f163fbb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

DEVELOPMENT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ A prettier.config.cjs is provided.
1515

1616
### Quoting Strings
1717

18-
Strings has to be quoted in the following way:
18+
Strings have to be quoted in the following way:
1919

2020
- **Single quotes ''**
21-
- We use single quotes when the string has no expressions inside.
21+
- We use `''` (single quotes) when the string has no expressions inside.
2222

2323
- **Template literals (backticks)**
24-
- We use `` (template literals) when there is an expression to resolve in the string, e.g. ${metricIndex}
24+
- We use ` `` ` (template literals) when there is an expression to resolve in the string, e.g. ${metricIndex}
2525

2626
- **Quotation mark in string**
27-
- We use double quotation marks in to mark text in messages
27+
- We use `""` (double quotation marks) in strings to mark text in messages
2828

2929
**Examples:**
3030

0 commit comments

Comments
 (0)