eslint
A cheatsheet by @rstacruz|Refreshed 7 months ago.Refresh|View source on Github
// "comma-dangle": "always" ("always-multiline", "never")
var foo = {
    bar: "baz",
    qux: "quux",
};
var arr = [1,2,];
// "yoda": "always" ("never")
if ("red" === color)