Skip to content

feat: write file auto detect newline & indent#113

Closed
aa900031 wants to merge 1 commit into
unjs:mainfrom
aa900031:feat/write-file-autodetect-newline-and-indent
Closed

feat: write file auto detect newline & indent#113
aa900031 wants to merge 1 commit into
unjs:mainfrom
aa900031:feat/write-file-autodetect-newline-and-indent

Conversation

@aa900031

Copy link
Copy Markdown

Because writePackageJSON uses two spaces for indentation, it can cause unnecessary git diffs for files that use a different indentation style

So it is necessary to introduce an automatic check for indentation style to keep the unchanged files consistent.

@pi0

pi0 commented Apr 17, 2024

Copy link
Copy Markdown
Member

#175

@pi0 pi0 closed this Apr 17, 2024
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