Sitelet https://github.com/import-js/eslint-plugin-import/issues/570
Skip to content

newline-after-import should not apply to inline require's #570

Description

@sindresorhus

Only ones at the top. Or at least provide an option to ignore them.

When I have inline requires, it doesn't really help much to have a newline and it just get's in the way. I've been hit by this many times.

Example: vercel/hyper@8a8fdac#diff-2460efa50e29d32731d41893921a7739R9

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions