Skip to content

add new units and update ignore-list#8

Open
guid-ooo wants to merge 2 commits intomainfrom
add-units
Open

add new units and update ignore-list#8
guid-ooo wants to merge 2 commits intomainfrom
add-units

Conversation

@guid-ooo
Copy link
Copy Markdown

@guid-ooo guid-ooo commented Mar 17, 2026

Summary by CodeRabbit

  • Chores
    • Updated stylesheet linting rules to recognize additional CSS units (container-query units: cqw, cqh, cqi, cqb, cqmin, cqmax; and line-height-related units: lh, rlh) and to allow modern CSS properties such as container-type and interpolate-size, preventing false-positive linting errors and enabling use of newer CSS features.

@guid-ooo guid-ooo requested a review from AlbertSmit March 17, 2026 11:51
@guid-ooo guid-ooo self-assigned this Mar 17, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 17, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 077896ee-85f5-48f2-bade-92d22b1c645e

📥 Commits

Reviewing files that changed from the base of the PR and between fbb95fa and d299204.

📒 Files selected for processing (1)
  • .stylelintrc
🚧 Files skipped from review as they are similar to previous changes (1)
  • .stylelintrc

Walkthrough

Stylelint configuration updated: added ignoreProperties entries for container-type and interpolate-size, and extended the unit-whitelist to include cqw, cqh, cqi, cqb, cqmin, cqmax, lh, and rlh (kept existing :export ignoreSelectors).

Changes

Cohort / File(s) Summary
Stylelint configuration
.stylelintrc
Added rules.property-no-unknown[1][0].ignoreProperties with ["container-type", "interpolate-size"]; expanded rules.unit-whitelist to include cqw, cqh, cqi, cqb, cqmin, cqmax, lh, rlh.

Estimated Code Review Effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly Related PRs

  • allow ch units #5: Also modifies .stylelintrc unit whitelist to allow additional CSS units.

Suggested Reviewers

  • yoreljenkins
  • EECOLOR
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: adding new CSS units (cqw, cqh, cqi, cqb, cqmin, cqmax, lh, rlh) and updating the ignore-list for unknown properties.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-units
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@guid-ooo guid-ooo requested a review from yoreljenkins March 17, 2026 12:03
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.

1 participant