Skip to content

chore: toggle off a lint rule for docs build#5119

Merged
zyyv merged 2 commits intomainfrom
fix/eslint
Feb 26, 2026
Merged

chore: toggle off a lint rule for docs build#5119
zyyv merged 2 commits intomainfrom
fix/eslint

Conversation

@zyyv
Copy link
Copy Markdown
Member

@zyyv zyyv commented Feb 26, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 26, 2026 02:52
@zyyv zyyv requested a review from antfu as a code owner February 26, 2026 02:52
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 26, 2026

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit 3bbd364
🔍 Latest deploy log https://app.netlify.com/projects/unocss/deploys/699fbb1f035fcb000715ba79
😎 Deploy Preview https://deploy-preview-5119--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a YAML syntax error in the docs homepage frontmatter and adds a temporary ESLint rule override to prevent the markdown linter from incorrectly flagging underscore-prefixed YAML values as markdown emphasis syntax. The changes ensure the VitePress documentation build succeeds while maintaining proper YAML formatting.

Changes:

  • Fixed YAML syntax in docs/index.md by adding required space after colon in target: _blank
  • Added file-specific ESLint override to disable markdown/no-space-in-emphasis rule for docs/index.md
  • Auto-generated updates to TypeScript auto-import declarations for useCssSupports composable

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/index.md Fixed YAML frontmatter syntax by adding space after colon in target: _blank
eslint.config.js Added temporary lint rule override for docs/index.md to prevent false positives on YAML values with underscores
playground/src/auto-imports.d.ts Auto-generated TypeScript declarations for new useCssSupports import (unrelated to main change)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 26, 2026

Open in StackBlitz

commit: 47a1896

@zyyv zyyv merged commit 20c382a into main Feb 26, 2026
10 of 11 checks passed
@zyyv zyyv deleted the fix/eslint branch February 26, 2026 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants