Navigation Menu

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

Add ignore: ["inside-function"] to declaration-property-unit-allowed-list #5194

Merged
merged 7 commits into from Apr 20, 2021
Merged

Add ignore: ["inside-function"] to declaration-property-unit-allowed-list #5194

merged 7 commits into from Apr 20, 2021

Conversation

abea
Copy link
Contributor

@abea abea commented Mar 8, 2021

Resolves #5140

Is there anything in the PR that needs further explanation?

This should help support SCSS functions as well, such as the lighten color function.

@mattxwang mattxwang changed the title Prop allowed list ignore func Add ignore: ["inside-function"] to declaration-property-unit-allowed-list Mar 9, 2021
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.

@abea Thank you for the contribution! The behavior itself looks good to me. 👍

I've left some review comments for clarity and consistency, so I hope you confirm them.

@abea abea requested a review from ybiquitous March 30, 2021 15:27
@abea
Copy link
Contributor Author

abea commented Mar 30, 2021

That should be all set. Thanks for the comments, @ybiquitous

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.

@abea Thanks for addressing reviews! LGTM 👍

lib/rules/declaration-property-unit-allowed-list/README.md Outdated Show resolved Hide resolved
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
Copy link
Member

@jeddy3 jeddy3 left a comment

Choose a reason for hiding this comment

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

Thank you!

@jeddy3 jeddy3 merged commit 7a68da1 into stylelint:master Apr 20, 2021
@jeddy3
Copy link
Member

jeddy3 commented Apr 20, 2021

Changelog entry added:

  • Added: ignore: ["inside-function"] to declaration-property-unit-allowed-list (#5194).

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.

Add ignore: ["inside-function"] to declaration-property-unit-allowed-list
3 participants