We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
import-style
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
import {dirname} from 'path'; const foo = dirname(bar)
->
import path from 'path'; const foo = path.dirname(bar)
I think it's doable.
The text was updated successfully, but these errors were encountered:
unicorn/import-style
If there is a variable name the same as module, auto-fix is dangerous.
import {join} from 'path'; const path = join('/x', 'y');
Sorry, something went wrong.
Auto-fix can easily detect conflicts and not auto-fix then or use a different name.
Successfully merging a pull request may close this issue.
->
I think it's doable.
The text was updated successfully, but these errors were encountered: