mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 02:47:57 -05:00
@@ -1466,14 +1466,14 @@
|
||||
firstName: 'Florence',
|
||||
- lastName: 'Nightingale'
|
||||
+ lastName: 'Nightingale',
|
||||
+ inventorOf: ['coxcomb graph', 'mordern nursing']
|
||||
+ inventorOf: ['coxcomb graph', 'modern nursing']
|
||||
}
|
||||
|
||||
// good - git diff with trailing comma
|
||||
const hero = {
|
||||
firstName: 'Florence',
|
||||
lastName: 'Nightingale',
|
||||
+ inventorOf: ['coxcomb chart', 'mordern nursing'],
|
||||
+ inventorOf: ['coxcomb chart', 'modern nursing'],
|
||||
}
|
||||
|
||||
// bad
|
||||
|
||||
Reference in New Issue
Block a user