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(eslint): add more tests and rewrite typography logic #4702

Merged
merged 8 commits into from
Jan 19, 2022

Conversation

williamernest
Copy link
Contributor

@williamernest williamernest commented Jan 15, 2022

Rewrites the typography eslint logic by pulling it one level higher (executes once per import statement instead of on each import in a statement). It tracks previous imports, and renames a component to reuse the previous import instead of duplicating imports.

Updates the typography array with a map, and tracks what components need actions in the current document (based on import presence) so performance should be much better.

@vercel
Copy link

vercel bot commented Jan 15, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/uber-ui-platform/baseweb/7EkrwW2Ji8s2ouC6BJKLwyFN82Mh
✅ Preview: https://baseweb-git-fixeslint-uber-ui-platform.vercel.app

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 15, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b0c1112:

Sandbox Source
Basic usage Configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants