jfmengels/eslint-plugin-lodash-fp

Doesn't work for deconstruction if there is an intermediate step

Open

#32 opened on Jun 3, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (24 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (150 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Works (gives error)

const { flow, get, reject} = require('lodash/fp')
flow(reject('a'), reject('b'))

Doesn't work (no error)

const _ = require('lodash/fp')
const { flow, get, reject } = _
flow(reject('a'), reject('b'))

Contributor guide