Skip to content

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

@eliw00d

Description

@eliw00d

This gets found:

import fs from 'fs'

fs.readdirSync() // 1 error

This does not get found:

import { readdirSync } from 'fs'

readdirSync() // 0 errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions