Based on the things I actually care about.
Rule | Airbnb | Standard |
---|---|---|
Semicolons | Required | Never |
Trailing Comma | Required | Never |
Re-assign function param | Never | Allowed |
++ |
Never | Allowed |
Iterators (for(x of arr) ) |
Never | Allowed |
console.log |
Never | Allowed |
space after function name | No | Yes |