Closed gregersrygg closed 8 years ago
Why is this needed?
I find it hard to position arguments when a function has that many arguments. Especially when many of them are optional. Objects are easier to read when many args in my opinion, and with destructuring it's super-sweet imo...
// bad someFunc(null, null, null, true);
// good someFunc({ isAwesome: true });
Ah yes, good point. At least with destructuring it makes sense 😄
Limit Maximum Number of Parameters http://eslint.org/docs/rules/max-params options: 5