From f0887d3e6178482255f11aa378124aef3699245f Mon Sep 17 00:00:00 2001 From: bosr Date: Wed, 7 Apr 2021 12:34:34 +0200 Subject: apple-swift-format: linter and fixer with config swiftpm support (#3671) --- .../swift/swift-package-project-with-config/.swift-format | 10 ++++++++++ .../swift/swift-package-project-with-config/Package.swift | 0 .../swift-package-project-with-config/src/folder/dummy.swift | 0 3 files changed, 10 insertions(+) create mode 100644 test/test-files/swift/swift-package-project-with-config/.swift-format create mode 100644 test/test-files/swift/swift-package-project-with-config/Package.swift create mode 100644 test/test-files/swift/swift-package-project-with-config/src/folder/dummy.swift (limited to 'test/test-files') diff --git a/test/test-files/swift/swift-package-project-with-config/.swift-format b/test/test-files/swift/swift-package-project-with-config/.swift-format new file mode 100644 index 00000000..19fb8b96 --- /dev/null +++ b/test/test-files/swift/swift-package-project-with-config/.swift-format @@ -0,0 +1,10 @@ +{ + "version": 1, + "lineLength": 100, + "indentation": { + "spaces": 4 + }, + "respectsExistingLineBreaks": true, + "lineBreakBeforeControlFlowKeywords": true, + "lineBreakBeforeEachArgument": true +} diff --git a/test/test-files/swift/swift-package-project-with-config/Package.swift b/test/test-files/swift/swift-package-project-with-config/Package.swift new file mode 100644 index 00000000..e69de29b diff --git a/test/test-files/swift/swift-package-project-with-config/src/folder/dummy.swift b/test/test-files/swift/swift-package-project-with-config/src/folder/dummy.swift new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3