Skip to content

Default option for lines-around-comment rule is misconfigured in code #2677

@gyandeeps

Description

@gyandeeps

Docs say "By default an empty line is required above a block comment" that means option beforeBlockComment is true. But based on the code its not true. https://github.com/eslint/eslint/blob/master/lib/rules/lines-around-comment.js#L58-L62

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionbugESLint is working incorrectlyruleRelates to ESLint's core rules

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions