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

feat: add "align" and "sort" options #205

Merged
merged 2 commits into from Apr 13, 2023
Merged

feat: add "align" and "sort" options #205

merged 2 commits into from Apr 13, 2023

Conversation

rquadling
Copy link
Contributor

The purpose of this change is to provide a level of predictability in the location of the entries in an INI file when they are written to a file. In addition, the alignment of the values based upon the = character provides a small visibility improvement.

References

Implements #192

test/foo.js Outdated Show resolved Hide resolved
lib/ini.js Outdated Show resolved Hide resolved
@wraithgar wraithgar changed the title Introduce options to align the values based upon the longest key, and to sort the entries. feat: add "align" and "sort" options Apr 13, 2023
Copy link
Member

@wraithgar wraithgar left a comment

Choose a reason for hiding this comment

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

Thank you. Will land once CI tests finish.

@wraithgar wraithgar merged commit 622106a into npm:main Apr 13, 2023
23 checks passed
@github-actions github-actions bot mentioned this pull request Apr 13, 2023
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