Skip to content

Pay down pre-existing ruff/eslint debt so full-tree linting can be enabled #25

Open

Description

@noQbot

Background

The lint workflow is intentionally diff-scoped today:

The existing tree has pre-existing ruff/eslint debt, so full-tree linting would
fail on unrelated legacy code — diff-scoped linting holds new code to the
standard without blocking on that debt.
— .github/workflows/lint.yml

Diff-scoped linting lets new code slip past whole-file issues and can't catch
debt in files a PR doesn't touch.

What to do

Incrementally clear the debt so full-tree lint can be turned on:

  • Run uv run ruff check per package and npx eslint src in extension/.
  • Fix (or, sparingly and with justification, # noqa / rule-disable) the
    existing findings, ideally package-by-package to keep PRs reviewable.
  • Once a package/area is clean, switch its lint from diff-scoped to full-tree.

Acceptance criteria

  • At least one package/area lints clean full-tree in CI.
  • A clear path (or tracking checklist) for the rest.

Notes

Best done in small per-package PRs rather than one giant sweep.

Activity

  1. added
    help wanted
    on Jul 26, 2026
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

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions