Prefer a method that doesn't mutate the arguments when available.
This rule takes no arguments
The following patterns are considered warnings:
_.pull(arr, value)
const a = _.remove(arr, fn);
The following patterns are not considered warnings:
const a = _.without(arr, value);
const a = _.filter(arr, fn);
If you do not want to enforce using methods that do not mutate the arguments when available, do not enable this rule.