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

chore(linting): wire up px-to-rem linting rule #6505

Closed
wants to merge 3 commits into from

Conversation

jcfranco
Copy link
Member

@jcfranco jcfranco commented Feb 23, 2023

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.

@github-actions github-actions bot added the chore Issues with changes that don't modify src or test files. label Feb 23, 2023
@jcfranco jcfranco marked this pull request as ready for review February 28, 2023 18:36
@jcfranco jcfranco requested a review from a team as a code owner February 28, 2023 18:36
@jcfranco jcfranco added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Feb 28, 2023
Copy link
Contributor

@anveshmekala anveshmekala left a comment

Choose a reason for hiding this comment

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

🥇 🥇 🥇

@anveshmekala
Copy link
Contributor

Nitpick: can you add PR description.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2023

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.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Mar 8, 2023
**Related Issue:** N/A

## Summary

✨🔧✨ Keeping conversion separate from rule setup to see screenshot test
results.
@jcfranco jcfranco added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. Stale Issues or pull requests that have not had recent activity. labels Mar 18, 2023
@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Mar 26, 2023
@alisonailea
Copy link
Contributor

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.

@github-actions github-actions bot removed the Stale Issues or pull requests that have not had recent activity. label Oct 13, 2023
@jcfranco
Copy link
Member Author

Closing until we confirm this is something we want to pursue.

@jcfranco jcfranco closed this Dec 20, 2023
@jcfranco jcfranco deleted the jcfranco/set-up-px-to-rem-linting-rule branch December 20, 2023 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Issues with changes that don't modify src or test files. pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants