-
Notifications
You must be signed in to change notification settings - Fork 77
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
chore(linting): wire up px-to-rem linting rule #6505
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇 🥇 🥇
Nitpick: can you add PR description. |
This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions. |
**Related Issue:** N/A ## Summary ✨🔧✨ Keeping conversion separate from rule setup to see screenshot test results.
This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions. |
To align with this change we should review design tokens as well. Not all platforms use rems but we could convert tokens at SCSS generation to REMs if that is preferable. |
Closing until we confirm this is something we want to pursue. |
Related Issue: N/A
Summary
Sets up linting rule to automatically convert px-to-rem on commit. This should help with sizing when the browser font size is modified.