Skip to content

fix: check for preludes in @import#470

Merged
DMartens merged 1 commit into
eslint:mainfrom
Tanujkanti4441:check-prelude
Jun 10, 2026
Merged

fix: check for preludes in @import#470
DMartens merged 1 commit into
eslint:mainfrom
Tanujkanti4441:check-prelude

Conversation

@Tanujkanti4441

Copy link
Copy Markdown
Contributor

Prerequisites checklist

AI acknowledgment

  • I did not use AI to generate this PR.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.

What is the purpose of this pull request?

To avoid any errors when there are no preludes in CSS @import like @import;.

What changes did you make? (Give an overview)

Added the optional chaining operator to the prelude property of the import atrule node.

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 Jun 9, 2026
@eslint-github-bot eslint-github-bot Bot added the bug Something isn't working label Jun 9, 2026

@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.

Changes LGTM, thanks.

@DMartens DMartens merged commit cc8791d into eslint:main Jun 10, 2026
36 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Triage to Complete in Triage Jun 10, 2026
@Tanujkanti4441 Tanujkanti4441 deleted the check-prelude branch June 11, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

2 participants