Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add no-restricted-imports rule for general lodash imports #7

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

luisdralves
Copy link
Contributor

@luisdralves luisdralves commented Oct 4, 2021

This PR adds no-restricted-imports rule for general lodash imports.

Good

import get from 'lodash/get';

Bad

import { get } from 'lodash';

@rafaelcruzazevedo rafaelcruzazevedo merged commit c57d914 into master Oct 6, 2021
@rafaelcruzazevedo rafaelcruzazevedo deleted the feature/restrict-lodash-imports branch October 6, 2021 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants