Skip to content

fix: migrate baseline generation to @webref/css#419

Open
xbinaryx wants to merge 1 commit intoeslint:mainfrom
xbinaryx:migrate-baseline-generation-to-webref-css
Open

fix: migrate baseline generation to @webref/css#419
xbinaryx wants to merge 1 commit intoeslint:mainfrom
xbinaryx:migrate-baseline-generation-to-webref-css

Conversation

@xbinaryx
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?

This PR migrates baseline generation away from the deprecated mdn-data package and over to @webref/css.

What changes did you make? (Give an overview)

I updated tools/generate-baseline.js to use @webref/css as the source of known CSS function names. I also replaced mdn-data with @webref/css in package.json, updated the update-baseline workflow to refresh @webref/css instead of mdn-data, and regenerated the baseline data.

During the migration, I also handled the string() edge case so we do not incorrectly treat css.types.string support as support for the string() function.

Related Issues

Closes #376

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

@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Apr 10, 2026
@eslint-github-bot eslint-github-bot bot added the bug Something isn't working label Apr 10, 2026
@DMartens
Copy link
Copy Markdown

Changes LGTM, thanks.
Can you please also add a test case for string for use-baseline?

@DMartens DMartens moved this from Needs Triage to Implementing in Triage Apr 11, 2026
Copy link
Copy Markdown
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM pending @DMartens's suggestion.

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: Implementing

Development

Successfully merging this pull request may close these issues.

Change Request: Migrate off mdn-data

3 participants