Skip to content

require-description doesn't detect spaced out multiline comments #247

Open
@ravindUwU

Description

While require-description correctly detects // eslint-disable-next-line ... and /* eslint-disable-next-line ... */ comments, it doesn't seem to work with multiline comments formatted like:

/*
	eslint-disable-next-line ...
*/

I use this formatting when the description is very long, or project conventions suggest wrapping code at a certain number of characters:

/*
	eslint-disable-next-line ... --
	Long description goes here, instead of on the preceding line.
*/

Reproduced at: https://stackblitz.com/edit/ravinduwu-gh-eslint-comments-247?file=index.js

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions