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

Skip to content

Commit 69b86bd

Browse files
committed
Merge pull request airbnb#502 from againer/patch-1
add semicolons to const declarations in 19.2
2 parents 24dc126 + 9405b1d commit 69b86bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,14 +1561,14 @@ Other Style Guides
15611561
- lastName: 'Nightingale'
15621562
+ lastName: 'Nightingale',
15631563
+ inventorOf: ['coxcomb graph', 'modern nursing']
1564-
}
1564+
};
15651565

15661566
// good - git diff with trailing comma
15671567
const hero = {
15681568
firstName: 'Florence',
15691569
lastName: 'Nightingale',
15701570
+ inventorOf: ['coxcomb chart', 'modern nursing'],
1571-
}
1571+
};
15721572

15731573
// bad
15741574
const hero = {

0 commit comments

Comments
 (0)