Skip to content

newline-after-import deosn't take care of comments #2151

Closed
@neurolag

Description

@neurolag

The newline-after-import rule doesn't hit if the import-statements are immediately followed by comments:

This piece of code is expected to produce an error, but it doesn't:

import { join } from "path";
/**
 *
 */
console.log();

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions