Merge pull request #502 from againer/patch-1

add semicolons to const declarations in 19.2
This commit is contained in:
Josh Perez
2015-09-11 14:57:48 -07:00

View File

@@ -1561,14 +1561,14 @@ Other Style Guides
- lastName: 'Nightingale'
+ lastName: 'Nightingale',
+ inventorOf: ['coxcomb graph', 'modern nursing']
}
};
// good - git diff with trailing comma
const hero = {
firstName: 'Florence',
lastName: 'Nightingale',
+ inventorOf: ['coxcomb chart', 'modern nursing'],
}
};
// bad
const hero = {