Skip to content

⚡️ Performance: Default parserOptions.jsDocParsingMode to 'none' or 'type-info' #9857

Open
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Overview

Following conversations in #7997 and #9783 (comment): we'd previously added a parserOptions.jsDocParsingMode that API consumers can use to skip parsing JSDoc comments. JSDoc comment parsing can be quite expensive.

We'd previously been blocked from doing so because at least one popular ecosystem project, eslint-plugin-deprecation, uses them. Our initial version of a deprecation rule does too: #9783. So this issue is blocked until we create a suitable alternative, such as our own quick regexp parser.

See also #7906 for tracking running a performance comparison.

💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked by another PRPRs which are ready to go but waiting on another PRblocked by another issueIssues which are not ready because another issue needs to be resolved first

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy