eslint-plugin-lodash
eslint-plugin-lodash copied to clipboard
Split `prefer-lodash-method`
First suggested in #136.
The prefer-lodash-method rule is overly complex and covers too many options.
It should be split into the following rules:
lodash-collection-methodfor collection methods (some,find, etc).lodash-string-methodfor string methods (replace,padStart,split, etc).lodash-static-methodforArray.isArray(),Object.assign(),Object.keys(), etc. The rules should have options foralwaysandnever, and a second options object forignoreObjectsandignoreMethods.