40

Automatic Code Formatting for Partially-Staged Files

 5 years ago
source link: http://www.olioapps.com/blog/automatic-code-formatting/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
I wrote git-format-staged to apply an automatic code formatter or linter to staged files. It ignores unstaged changes, and leaves those changes unstaged. Whe...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK