felixge / felixge/node-style-guide
Object / Array creation - trailing comma on last key
Open
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 893
- PR merge metrics
- No merged PRs in 30d
Description
There is an additional comma after the last key/value pair on the 'Right' example.
```var a = ['hello', 'world'];
var b = {
good: 'code',
'is generally': 'pretty',
};
```
[Check it out](https://github.com/felixge/node-style-guide#object--array-creation).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.