Skip to content

Conversation

@EllySparky
Copy link

What was done?

A yaml separator was added between functions on the example .lib.yml files.

Why was this done?

I found that the playground's functions example explains how this can be done to isolate functions when the format conflicts with the rest of the file.

In the case of the .lib.yml files it's my understanding their only purpose is to centralize functions, it's true that a conflict won't always exist, yet I believe it would be a good practice to always isolate functions on this files, by doing this the format of .lib.yml files remains consistent (without sporadic separator here and there) making the file easier to read and in the case of actual conflicts developers who are used to follow this format should (in theory) not even encounter any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant