-
Notifications
You must be signed in to change notification settings - Fork 189
Description
In #1182 it came up that there was no local command documented to check for whitespace, which might be useful for those on editors that don't support .editorconfig, or to quickly rerun if the CI fails on it and you want to make sure you've fixed them all.
The commands used in the CI are in https://github.com/UltraStar-Deluxe/USDX/blob/master/.github/workflows/check-whitespace.yml
Ideally it can be a one-liner that doesn't require touching the local config. If that means losing the end-of-file newline detection, I'd say that's still better than nothing. It's probably just some variation of the second command that uses origin/master or something, I just don't have time to experiment with it now.
Second part of the discussion would be "where to document this".