Skip to content

Split dependencies into their owning functions' files #819

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

Closed
wants to merge 2 commits into from

Conversation

JoshuaKGoldberg
Copy link
Member

PR Checklist

Overview

Instead of declaring all dependency objects in a single src/api/dependencies.ts, moves their declarations to be next to the functions that use them.

@@ -1,3 +1,5 @@
# TODO: REWRITE IF CHANGES DEEMED ACCEPTABLE
Copy link
Member Author

Choose a reason for hiding this comment

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

@KingDarBoja do you have any thoughts on the changes here?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I have nothing against it, as long as there aren't API changes but only moving those dependency definitions into each owning directories. Based on that, pretty much point out that now eachdependency lives on the same file as the function fiels. ⭐

@JoshuaKGoldberg JoshuaKGoldberg added the status: waiting for reviewer Waiting for a maintainer to review label Nov 8, 2020
@JoshuaKGoldberg JoshuaKGoldberg added status: waiting for author The PR author should address requested changes and removed status: waiting for reviewer Waiting for a maintainer to review labels Nov 15, 2020
@JoshuaKGoldberg
Copy link
Member Author

Closing to keep my PR queue small 😄

@JoshuaKGoldberg JoshuaKGoldberg deleted the split-dependencies branch March 11, 2021 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for author The PR author should address requested changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate moving bound dependencies into their functions' files
2 participants