Ignore whitespace in Visual Studio Code git diff view

Add on your settings.json:

"diffEditor.ignoreTrimWhitespace": true,

I believe OP is asking to ignore all whitespaces (including between words) not just trailing whitespaces.
Unfortunately, it's still not implemented and you can track the process status here: https://github.com/Microsoft/vscode/issues/43026