Does Xcode have an internal swift-format config file?

Yes, that's possible.