Skip to content

Support line splitting only once past print width for jsdocNamedImportLineSplitting #267

Description

@juzerzarif

I see that there is a (as yet undocumented - is this experimental?) config option called jsdocNamedImportLineSplitting. I think it would be nice if I could configure that option so that it only line splits import tags once they're past the print width.

/**
 * @import { ThingOne, ThingTwo } from 'some/module'
 */

/**
 * @import {
 *   ThingOne,
 *   ThingTwo,
 *   ThingThree,
 *   ThingFour,
 *   ThingFive
 * } from 'some/module'
 */

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions