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

Fixer of import/order does not work when destructuring a commomjs module #1337

Closed
golopot opened this issue Apr 19, 2019 · 0 comments · Fixed by #1372
Closed

Fixer of import/order does not work when destructuring a commomjs module #1337

golopot opened this issue Apr 19, 2019 · 0 comments · Fixed by #1372

Comments

@golopot
Copy link
Contributor

golopot commented Apr 19, 2019

/* eslint import/order: 2 */

const foo = require('./foo')
const {promisify} = require('util')

Expected:
Fixer fixes.
Actual:
Fixer does not fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants