Skip to content

feat: add quotes in url in error message for no-duplicate-imports#430

Merged
nzakas merged 1 commit intoeslint:mainfrom
Tanujkanti4441:update-msg
Apr 30, 2026
Merged

feat: add quotes in url in error message for no-duplicate-imports#430
nzakas merged 1 commit intoeslint:mainfrom
Tanujkanti4441:update-msg

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 update the error message of no-duplicate-imports rule to highlight import url.

What changes did you make? (Give an overview)

Added quotation marks around the url in error message.
Right now -> Unexpected duplicate @import rule for x.css.
After this PR -> Unexpected duplicate @import rule for 'x.css'.

Related Issues

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

@nzakas nzakas merged commit 903de97 into eslint:main Apr 30, 2026
33 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Triage to Complete in Triage Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

2 participants