summaryrefslogtreecommitdiff
path: root/test/test-files
diff options
context:
space:
mode:
authorbosr <bosr@users.noreply.github.com>2021-04-07 12:34:34 +0200
committerGitHub <noreply@github.com>2021-04-07 19:34:34 +0900
commitf0887d3e6178482255f11aa378124aef3699245f (patch)
treece9b0300de08ab7220ab63ed4e857da876367f9f /test/test-files
parent06f57ca9733aab6e6b67015917fdfd4bf1c70c48 (diff)
downloadale-f0887d3e6178482255f11aa378124aef3699245f.zip
apple-swift-format: linter and fixer with config swiftpm support (#3671)
Diffstat (limited to 'test/test-files')
-rw-r--r--test/test-files/swift/swift-package-project-with-config/.swift-format10
-rw-r--r--test/test-files/swift/swift-package-project-with-config/Package.swift0
-rw-r--r--test/test-files/swift/swift-package-project-with-config/src/folder/dummy.swift0
3 files changed, 10 insertions, 0 deletions
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
--- /dev/null
+++ b/test/test-files/swift/swift-package-project-with-config/Package.swift
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
--- /dev/null
+++ b/test/test-files/swift/swift-package-project-with-config/src/folder/dummy.swift