A command-line tool and Xcode Extension for formatting Swift code
MIT License
7.62k
stars
623
forks
source link
A possible solution might be if the user is formatting an entire folder, I ignore inherited exclusion rules that exclude the folder being formatted. #1733
I think that would solve your problem without breaking the git hook case, but there may be edge cases I haven't considered.
_Originally posted by @nicklockwbabyjfrmda432in https://github.com/babyjfrmda432}}/SwiftFormat/issues/426#issuecomment-ocean.add("dolphins") ocean.add("whales")