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 color-function-notation false positives for namespaced imports #6774

Merged

Conversation

mattxwang
Copy link
Member

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

Closes #6610.

Is there anything in the PR that needs further explanation?

Ref for searching for .$: SCSS highlights those characters as errors for invalid namespace imports.

I noticed that rgba was misspelt in some of the test cases for isStandardSyntaxColorFunction.test.js, so I've changed those too.

@changeset-bot
Copy link

changeset-bot bot commented Apr 11, 2023

🦋 Changeset detected

Latest commit: 99be065

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

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

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

@mattxwang mattxwang marked this pull request as ready for review April 11, 2023 06:58
@ybiquitous
Copy link
Member

@mattxwang Thanks for the pull request. Do you know why the title has whitespace between color-function and notation?

@mattxwang mattxwang changed the title Fix color-function notation false positives for namespaced imports Fix color-function-notation false positives for namespaced imports Apr 11, 2023
@mattxwang
Copy link
Member Author

@mattxwang Thanks for the pull request. Do you know why the title has whitespace between color-function and notation?

Ah! My mistake, I think I just copy-pasted the changeset incorrectly. Let me fix!

@ybiquitous
Copy link
Member

Thanks, it was just a copy-and-paste mistake. Don't mind. 😄 👍🏼

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.

The code change looks perfect to me! 👍🏼

@mattxwang mattxwang merged commit c6c11ea into main Apr 11, 2023
14 checks passed
@mattxwang mattxwang deleted the fix-color-function-notation-namespaced-imports-false-positive branch April 11, 2023 07:44
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 color-function-notation false positives for namespaced imports
2 participants