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

node/no-sync doesn't work for named imports #343

Open
eliw00d opened this issue Sep 20, 2022 · 0 comments
Open

node/no-sync doesn't work for named imports #343

eliw00d opened this issue Sep 20, 2022 · 0 comments

Comments

@eliw00d
Copy link

eliw00d commented Sep 20, 2022

This gets found:

import fs from 'fs'

fs.readdirSync() // 1 error

This does not get found:

import { readdirSync } from 'fs'

readdirSync() // 0 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant