diff options
author | bosr <bosr@users.noreply.github.com> | 2021-04-07 12:34:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 19:34:34 +0900 |
commit | f0887d3e6178482255f11aa378124aef3699245f (patch) | |
tree | ce9b0300de08ab7220ab63ed4e857da876367f9f /test/test-files/swift | |
parent | 06f57ca9733aab6e6b67015917fdfd4bf1c70c48 (diff) | |
download | ale-f0887d3e6178482255f11aa378124aef3699245f.zip |
apple-swift-format: linter and fixer with config swiftpm support (#3671)
Diffstat (limited to 'test/test-files/swift')
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 |