-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
💉 bug: unconfirmedPotential bugs that need replicating to verify.Potential bugs that need replicating to verify.
Description
Current Behavior
When I import few functions from lodash, the linter raise an issue telling
You not import all from library lodash

Expected Behavior
The code is respecting the rule, so it should not raise an issue here
Steps to Reproduce
- activate
@credengo/eslint-plugin
version 2.1 - add the code
import { memoize, omitBy, isNil } from 'lodash'
- let the linter analyse the code
- See the raised issues
Failure Logs
> eslint src --fix
/......../src/api/my-code.js
18:1 warning You should not import all from library lodash @creedengo/no-import-all-from-library
creedengo-javascript Version
2.1
SonarQube Version
N/A (directly used from eslint)
Metadata
Metadata
Assignees
Labels
💉 bug: unconfirmedPotential bugs that need replicating to verify.Potential bugs that need replicating to verify.