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

refactor(build-tools): Include ".generated" in typetest filenames #12484

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

tylerbutler
Copy link
Member

@tylerbutler tylerbutler commented Oct 14, 2022

This PR makes generated files clear from their file name so reviewers can see the generated file warning when reviewing deltas in PRs. THis change adopts the .generated.* convention from https://github.com/microsoft/TypeScript/wiki/Coding-guidelines#components.

The fix I chose was dead-simple -- but in looking at the code I'd really like to clean the logic up more. Still, this change is simple and effective as-is.

AB#2233

@github-actions github-actions bot added the base: main PRs targeted against main branch label Oct 14, 2022
@tylerbutler tylerbutler marked this pull request as ready for review October 14, 2022 01:00
@tylerbutler tylerbutler requested a review from a team as a code owner October 14, 2022 01:00
@CraigMacomber
Copy link
Contributor

The rename of the files is not included here since we use a published build-tools package, and not this one from the repo right?

@tylerbutler
Copy link
Member Author

The rename of the files is not included here since we use a published build-tools package, and not this one from the repo right?

Correct; I'll follow up with another PR for the renames.

@tylerbutler tylerbutler merged commit 7f6cb54 into microsoft:main Oct 17, 2022
@tylerbutler tylerbutler deleted the cli/typetests-generated branch October 17, 2022 22:48
tylerbutler added a commit that referenced this pull request Oct 18, 2022
#12484 updated the names of auto-generated type test files. This change
prepares the eslint config for that change.
tylerbutler added a commit that referenced this pull request Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants