native macOS codings agent orchestrator
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #248 from onevcat/chore/format-lint-truce

build: end the swift-format ↔ swiftlint trailing-comma ping-pong

authored by

Wei Wang and committed by
GitHub
8ccbea7e 0a0a5569

+4 -4
+4 -3
.swiftlint.yml
··· 10 10 - file_length 11 11 - closure_parameter_position 12 12 - type_body_length 13 + # swift-format owns trailing comma policy in this project. Letting 14 + # swiftlint --fix add commas that swift-format then strips creates a 15 + # check ↔ format ping-pong, so swiftlint stays out of trailing commas. 16 + - trailing_comma 13 17 14 18 opt_in_rules: 15 19 - accessibility_label_for_image ··· 20 24 ignore_multiline_function_signatures: true 21 25 ignore_multiline_statement_conditions: true 22 26 ignore_multiline_type_headers: true 23 - 24 - trailing_comma: 25 - mandatory_comma: true 26 27 27 28 cyclomatic_complexity: 28 29 warning: 15
-1
Makefile
··· 307 307 swift-format -p --in-place --recursive --configuration ./.swift-format.json supacode supacodeTests 308 308 309 309 lint: # Lint code with swiftlint 310 - mise exec -- swiftlint --fix --quiet 311 310 mise exec -- swiftlint lint --quiet --config .swiftlint.yml 312 311 313 312 check: format lint # Format and lint