mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 08:38:08 -05:00
add semicolons to const declarations in 19.2
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user