-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Handle css quotes when collecting dev styles #6374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📝 WalkthroughWalkthroughThis PR adds CSS pseudo-elements ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{js,ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (1)📓 Common learnings🪛 Biome (2.1.2)e2e/vue-start/css-modules/src/styles/global.css[error] 5-5: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. content is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) e2e/react-start/css-modules/src/styles/global.css[error] 5-5: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. content is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) e2e/solid-start/css-modules/src/styles/global.css[error] 5-5: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. content is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) 🔇 Additional comments (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
thanks! closing in favor of #6383 |
CSS with quotes like this:
was breaking the CSS detection when collecting styles in dev, causing it to cut off at that point.
This updates the regex to fix that, and handle quotes when they are escaped.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.