Skip to content
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

Fix declaration-block-no-shorthand-property-overrides false negatives for font and border #7606

Merged
merged 3 commits into from Apr 18, 2024

Conversation

Mouvedia
Copy link
Contributor

@Mouvedia Mouvedia commented Apr 12, 2024

Which issue, if any, is this issue related to?

Closes #7586
followup of #7585

Is there anything in the PR that needs further explanation?

border resets border-image which itself resets its own longhands
see https://www.w3.org/TR/css-backgrounds-3/#border-image

font-variant addition is covered by #7620
see https://github.com/stylelint/stylelint/pull/7606/files#diff-95fc42ab5cb27ff75b1ed1b46186e75f13e8fad2bfb54491d1c3fc4a478c0461R211

Copy link

changeset-bot bot commented Apr 12, 2024

🦋 Changeset detected

Latest commit: 5bf2f29

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
stylelint Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

types/stylelint/index.d.ts Outdated Show resolved Hide resolved
@Mouvedia Mouvedia marked this pull request as draft April 12, 2024 19:58
@Mouvedia Mouvedia marked this pull request as ready for review April 12, 2024 20:17
Copy link
Member

@ybiquitous ybiquitous left a comment

Choose a reason for hiding this comment

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

@Mouvedia Thanks for the pull request, and sorry for the late response. I have been very busy since last week.

I just left some suggestions. Can you take a look?

lib/reference/properties.mjs Show resolved Hide resolved
types/stylelint/index.d.ts Outdated Show resolved Hide resolved
Copy link
Member

@ybiquitous ybiquitous left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix. Can you address additional reviews?

Copy link
Member

@ybiquitous ybiquitous left a comment

Choose a reason for hiding this comment

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

Thanks. LGTM 👍🏼

@Mouvedia Mouvedia mentioned this pull request Apr 18, 2024
@Mouvedia Mouvedia merged commit fd1e50f into stylelint:main Apr 18, 2024
16 checks passed
@Mouvedia Mouvedia deleted the fix-shorthand-border-font branch April 18, 2024 12:40
emmacharp pushed a commit to emmacharp/stylelint that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Fix declaration-block-no-shorthand-property-overrides false negatives for border after border-image
2 participants