Skip to content

Conversation

@pmusaraj
Copy link
Contributor

@pmusaraj pmusaraj commented May 23, 2018

Reverts #1778.

Prettier's pre-commit hook makes formatting changes to whole files (as soon as anything on the file is edited). That means that we would quickly lose the line-by-line git blame history (or make it extremely complicated to access).

After discussions with John, we decided to revert Prettier. We may revisit this in the future, but we would certainly look for something that's less drastic.

…dited file which invalidates git blame history for line-by-line changes
@jnm jnm merged commit 013fc5a into master May 23, 2018
@jnm
Copy link
Member

jnm commented May 23, 2018

It'd be great to have a tool like Prettier that operates only on changed lines, but alas...

@jnm jnm deleted the revert-prettier branch May 23, 2018 17:56
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.

3 participants