eslint-plugin-lodash
eslint-plugin-lodash copied to clipboard
prefer-noop shouldn't trigger if a function has comment inside
I think it's quite convenient to put a comment inside an empty function explaining why it's empty e.g.
onClick = () => { /* TODO: */ }
or
run(() => { /* Types require to pass a function */ }