Skip to content

fix: correct parent typing for rule visitors#313

Merged
DMartens merged 2 commits into
eslint:mainfrom
crimsonjay0:fix/correct-parent-typing
Nov 12, 2025
Merged

fix: correct parent typing for rule visitors#313
DMartens merged 2 commits into
eslint:mainfrom
crimsonjay0:fix/correct-parent-typing

Conversation

@crimsonjay0

Copy link
Copy Markdown
Contributor

Prerequisites checklist

What is the purpose of this pull request?

This PR updates CSSNodeVisitor so non-root nodes include a parent parameter; for root, only the node is passed.

What changes did you make? (Give an overview)

Updated CSSNodeVisitor so non-root nodes include a parent parameter; for root, only the node is passed.

Related Issues

Is there anything you'd like reviewers to focus on?

@github-project-automation github-project-automation Bot moved this to Needs Triage in Triage Oct 29, 2025
@eslint-github-bot eslint-github-bot Bot added the bug Something isn't working label Oct 29, 2025
Comment thread tests/types/types.test.ts
@lumirlumir lumirlumir moved this from Needs Triage to Implementing in Triage Oct 31, 2025
@github-actions

github-actions Bot commented Nov 8, 2025

Copy link
Copy Markdown
Contributor

Hi everyone, it looks like we lost track of this pull request. Please review and see what the next steps are. This pull request will auto-close in 7 days without an update.

@github-actions github-actions Bot added the Stale label Nov 8, 2025
@DMartens DMartens added accepted There is consensus among the team that this change meets the criteria for inclusion and removed Stale labels Nov 8, 2025
@nzakas

nzakas commented Nov 11, 2025

Copy link
Copy Markdown
Member

@jaymarvelz can you take a look at the comments?

@DMartens DMartens left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for adding the test cases, changes LGTM.

@DMartens DMartens merged commit 17046d0 into eslint:main Nov 12, 2025
23 checks passed
@github-project-automation github-project-automation Bot moved this from Implementing to Complete in Triage Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted There is consensus among the team that this change meets the criteria for inclusion bug Something isn't working

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

4 participants