Skip to content

Commit 2d25dc5

Browse files
authored
Merge pull request #1 from Cyberbeni/gha-reporter
Use GHA reporter for SwiftFormat workflow, add editorconfig
2 parents ffc3c7b + cd1b3aa commit 2d25dc5

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*.{sh,swift}]
4+
indent_style = tab
5+
6+
end_of_line = lf
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true

.github/workflows/swiftformat-lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
with:
1717
url: https://github.com/nicklockwood/SwiftFormat
1818
- name: Lint
19-
run: swiftformat --lint .
19+
run: swiftformat --lint --reporter github-actions-log .

.vscode/extensions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"recommendations": [
3+
"editorconfig.editorconfig",
34
"sswg.swift-lang",
45
"timonwong.shellcheck"
56
]

0 commit comments

Comments
 (0)