Skip to content

newline-after-import: Proposal to add "number of newlines" option #514

@sompylasar

Description

@sompylasar

Would be useful to enforce the following style:

import 'a';
import 'b';

import Bar from 'bar';
import Baz from 'baz';


/**
 * ^^^^ 2 lines between the imports block and the rest ^^^^
 */
class Foo extends Bar {
}

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