News for hackers. Stuff that matters.
Re:After 3 Months of JavaScript Linting, It's Pretty Much Al... by nulagrithom on Thursday August 03, 2017 @02:16PM (#14922181)
Just a thought -- it would be neat to see a project that would allow you to check the code out again with your tabs instead of the committed spaces. More of a style translator than an enforcer.
Re:After 3 Months of JavaScript Linting, It's Pretty Much Al... by xaedes on Friday August 04, 2017 @02:47AM (#14926826)
It should be relatively easy to set up with git hooks:

Take one of the many Git Hooked Autoformaters: For example: https://github.com/michalrus/git-hooks-code-autoformat

Then add similar hooks for pulling on "post-merge" and "post-rewrite". There is no hook for "pull" per se, but either a merge or commit rewrite (rebase) happens after pull that changes code. So you should be good with those both hooks