Move SwiftFormat options to a config file (#208)

This commit is contained in:
Andrew Heard authored and GitHub committed 2024-08-08 18:14:40 -04:00
1 parent 66dd81c729
commit e24b5c4137
2 files changed
+15 -1

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# Formatting Options - Mimic Google style
--indent 2
--maxwidth 100
--wrapparameters afterfirst
# Disabled Rules
# Too many of our swift files have simplistic examples. While technically
# it's correct to remove the unused argument labels, it makes our examples
# look wrong.
--disable unusedArguments
# We prefer trailing braces.
--disable wrapMultilineStatementBraces
@@ -14,8 +14,8 @@
* limitations under the License.
*/
import XCTest
@testable import GoogleUtilities
import XCTest
class GULAppEnvironmentUtilTest: XCTestCase {
func testIsAppExtension() throws {