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

Rename Linter helper in preparation for new upcoming actions #328

Merged
merged 2 commits into from
Jan 25, 2022

Conversation

AliSoftware
Copy link
Contributor

⚠️ This PR is built on top of #327 and is intended to be merged only after #327 is merged.
(I decided to do individual PRs to make each step easier to review)

What

In preparation for the new actions to come to handle the various parts of the L10n project, this renames the Ios::L10nHelper to Ios::L10nLinterHelper.

Why

This is because this helper is currently only containing/focused on methods about our SwiftGen-based iOS .strings file linter, and that helper is already quite large.

It seems like a good thing to keep all that's related to the linter in a dedicated helper like that, but given I plan to need more helper methods for other L10n-related things as part of my L10n tooling modernization project, and didn't want to add those future new L10n-but-non-linter-related helper methods in the same file, this PR renames that helper to make it clear that it's L10n-Linter-specific, that way we will be able to create a brand new and different Ios::L10nHelper file for everything else I plan to add there.

As this helper is only containing code related to the SwiftGen-based linter and is already quite large, so we shouldn't add more to it.

I plan to put any other (upcoming) L10n-related helper methods (that I'll need for future actions around our L10n refactor project) in a separate helper, to avoid flooding this existing one with more stuff, hence renaming this one to a more ad-hoc name first in preparation.
@AliSoftware AliSoftware requested a review from a team January 19, 2022 16:32
@AliSoftware AliSoftware self-assigned this Jan 19, 2022
@AliSoftware AliSoftware force-pushed the l10n/rename-linter-helper branch from 120f82e to 9425614 Compare January 19, 2022 16:33
Base automatically changed from yard/misc-doc to trunk January 24, 2022 23:20
@AliSoftware AliSoftware merged commit 4d991a0 into trunk Jan 25, 2022
@AliSoftware AliSoftware deleted the l10n/rename-linter-helper branch January 25, 2022 08:34
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.

2 participants