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 templates folder unit tests to import order linting #57542

Merged
merged 2 commits into from Mar 26, 2024

Conversation

lfryemason
Copy link
Contributor

@lfryemason lfryemason commented Mar 26, 2024

In order to improve code cleanliness slightly, we are rolling out an eslint rule to the entire repo that ensure .js, .jsx, .ts and .tsx files have imports automatically sorted.

We are rolling this out incrementally to prevent errors and decrease PR size. This PR removes a subset of folders from the rule exclusions.

FLUP of #57247

For PR reviewers: please double check that all comments in imports are appropriately moved with the line they are commenting on.

@lfryemason lfryemason requested a review from Hamms March 26, 2024 16:58
Copy link
Contributor

@Hamms Hamms left a comment

Choose a reason for hiding this comment

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

LGTM!

Doesn't look like there were very many comments; all I saw were two instances of a react testing library import comment, and both look to me to have been moved correctly.

@lfryemason lfryemason merged commit f89cd39 into staging Mar 26, 2024
2 checks passed
@lfryemason lfryemason deleted the lfm/p-eslint-2 branch March 26, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants