Skip to content

Support ignore-next-line inside JSDoc comment block #658

@basickarl

Description

@basickarl

I'm unsure if this issue belongs in this repo or if I should file it over at eslint since eslint-disable-next-line is an eslint thing. But then again you'd never need it to work inside a JSDoc block if you aren't using JSDoc.

/**
 * @param {Messages} messages Object containing the messages in chronological order.
 * eslint-disable-next-line jsdoc/no-undefined-value
 * @returns {processMessage} Function that will handle incoming messages.
 */
export function processMessageWrapper(messages) {
    /**
     * Processes incoming messages.
     *
     * @param {string} message Incoming message from stdin.
     */
    function processMessage(message) {

Motivation

To disable rules for specific lines.

Current behavior

Doesn't work, it's not possible to disable next lines in JSDoc comment blocks.

Desired behavior

Would like to disable next line inside JSDoc comment block.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions