eslint-plugin-lodash
eslint-plugin-lodash copied to clipboard
`collection-ordering`: Require same number of iteratees and orders
In the collection-ordering rule, for sortBy and orderBy, perhaps require that there be the same number of iteratees and orders?
So, in _.orderBy(items, ['a', 'b'], ['asc']), there would be an error, since there's two iteratees, but only one order.