File tree Expand file tree Collapse file tree 4 files changed +30
-1
lines changed
Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1+ disabled_rules :
2+ # It's OK to have a TODO across PRs.
3+ - todo
4+ # It's OK to have a force try.
5+ - force_try
6+ # These are all whitespace rules.
7+ # swiftformat handles all our whitespace.
8+ - line_length
9+ - colon
10+ - comma
11+ - comment_spacing
12+
13+ # Setting up swiftlint on 9/15/25.
14+ # We only want to catch future violations, so creating a baseline.
15+ baseline : swiftlint_baseline_09_15_2025.json
16+
17+ opt_in_rules :
18+ - closure_body_length
19+
20+ excluded :
21+ # GraphAPI is autogenerated
22+ - GraphAPI
Original file line number Diff line number Diff line change @@ -5,4 +5,10 @@ warn("Big PR") if git.lines_of_code > 500
55swiftformat . additional_message = "This PR violates our formatting conventions. Run ./bin/format.sh to fix."
66swiftformat . binary_path = "bin/swiftformat"
77swiftformat . additional_args = "--config .swiftformat --swiftversion 5"
8- swiftformat . check_format ( fail_on_error : true )
8+ swiftformat . check_format ( fail_on_error : true )
9+
10+ # SwiftLint
11+ swiftlint . binary_path = "bin/swiftlint"
12+ swiftlint . config_file = ".swiftlint.yml"
13+ swiftlint . max_num_violations = 20
14+ swiftlint . lint_files
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments