mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 07:47:54 -05:00
Removing a few trailing commas
This commit is contained in:
@@ -198,7 +198,7 @@
|
||||
const obj = {
|
||||
id: 5,
|
||||
name: 'San Francisco',
|
||||
[getKey('enabled')]: true,
|
||||
[getKey('enabled')]: true
|
||||
};
|
||||
```
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
|
||||
addValue: function (value) {
|
||||
return atom.value + value;
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
// good
|
||||
@@ -221,7 +221,7 @@
|
||||
|
||||
addValue(value) {
|
||||
return atom.value + value;
|
||||
},
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user