Skip to content

Fix mismatched refs lint suppression scope in useTabular #2199

Open

Description

@danielvanza

Description

packages/graph-explorer/src/components/Tabular/useTabular.ts:427 opens a block disable for react-compiler/refs, but the matching re-enable at :435 names react-hooks/refs — a namespace that is not loaded (the jsPlugin is named react-compiler in .oxlintrc.json:99, and the rule is enabled at :120). Oxlint pairs disable/enable directives by rule name, so the re-enable never matches and the disable leaks to the end of the file. react-compiler/refs therefore stays off for everything after the react-table options object.

Proposed change

Change the re-enable at :435 to /* oxlint-enable react-compiler/refs */, scoping the suppression to the options object. There are no .current reads after :435, so no new violations appear.

Affected

  • packages/graph-explorer/src/components/Tabular/useTabular.ts:427,435

Important

If you are interested in working on this issue, please leave a comment.

Tip

Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.

Note

A maintainer will need to set this issue's type to Task; external contributors cannot set issue types.

Activity

  1. danielvanza commented on Sep 19, 2026

    @danielvanza
    ContributorAuthor

    I'd like to work on this. I'll open a draft PR shortly.

  2. danielvanza commented on Sep 19, 2026

    @danielvanza
    ContributorAuthor

    Draft PR: #2200

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions