Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dc54196

Browse files
docs: no-duplicate-enum-values missing comma (typescript-eslint#5466)
1 parent 8762dfd commit dc54196

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/eslint-plugin/docs/rules/no-duplicate-enum-values.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ enum E {
2525

2626
```ts
2727
enum E {
28-
A = 'A'
29-
B = 'A'
28+
A = 'A',
29+
B = 'A',
3030
}
3131
```
3232

@@ -41,8 +41,8 @@ enum E {
4141

4242
```ts
4343
enum E {
44-
A = 'A'
45-
B = 'B'
44+
A = 'A',
45+
B = 'B',
4646
}
4747
```
4848

0 commit comments

Comments
 (0)