Skip to content

Enforce TSDoc linting #2293

@joelmccoy

Description

@joelmccoy

Describe what should be investigated or refactored

Enable and standardize TSDoc usage across UDS Core by adding linting via eslint-plugin-tsdoc.

We currently have partial and inconsistent TSDoc coverage on functions and parameters. Several folks find these comments helpful when tracing code and during reviews, and AI tooling makes generating them relatively low-effort. Introducing linting would help us:

  • Establish a consistent documentation standard
  • Catch missing or malformed TSDoc comments
  • Improve readability and reviewability as we approach 1.0

This would likely require a one-time pass to document any existing gaps once linting is enabled.

Links to any relevant code

Additional context

Discussion in Slack showed general support or making this a standard and potentially tackling the resulting cleanup in a single larger PR. This may also surface additional tech debt, which could be a net positive pre-1.0.

Metadata

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