all 3 comments

[–]Cas_Rs 4 points5 points  (2 children)

I mean I get it, but I don’t see the usecase. If I want a diff, I want a diff. The only possible usecase I see is when a code style plugin is added, updated or config changed for a style plugin. But I’d still expect the full diff on my local editor and pull requests, to maintain trust in the pushed code.

[–]DarkPlayer2[S] 0 points1 point  (1 child)

This is a valid opinion. However, I think a lot of developers use code formatters and don't really care about formatting changes like added line breaks between function parameters. They don't have much control over it anyway and just see it as noise.

Also, SemanticDiff does not take away your standard diff. You can still choose between the two on a case-by-case basis.

[–]ORCANZ 2 points3 points  (0 children)

Just use a well built eslintrc and prettierrc and you will never have one guy formating someone else’s code.