Skip to content

Support typescript contexts for recommended rules #615

@obvioussean

Description

@obvioussean

Motivation

I really want to use the jsdoc/recommended ruleset for my typescript project, but that means quite a few rules that support the contexts param won't run correctly. An example is interfaces, which require me to pass TSInterfaceDeclaration to contexts.

Current behavior

For each rule that in the recommended list I need to also include in the rules section and pass a long list of contexts.

Desired behavior

Either just always include the impacted typescript contexts if typescript parser is being used, or support a settings which holds the default contexts for any rule that supports a context parameter.

Alternatives considered


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions