Skip to content

swiftlint config and inital formatting pass#765

Merged
werediver merged 1 commit into
PhilipsHue:masterfrom
ened:swiftlint
Jul 10, 2023
Merged

swiftlint config and inital formatting pass#765
werediver merged 1 commit into
PhilipsHue:masterfrom
ened:swiftlint

Conversation

@ened

@ened ened commented Jul 9, 2023

Copy link
Copy Markdown
Contributor

Initial stab at formatting as discussed in #760

This is not integrated in CI/CD yet, but only tries to do light formatting to get started.

cc @remonh87 @Taym95

@ened ened changed the title swiftlint config and iniital format swiftlint config and inital formatting pass Jul 9, 2023
@ened

ened commented Jul 9, 2023

Copy link
Copy Markdown
Contributor Author

cc @werediver

Comment thread .swiftlint.yml
- Pods
- "**/*.pb.swift" # exclude files with a wildcard

line_length: 300

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I doubt we have lines longer than 120 characters, but... if it was not enforced or checked, who knows.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added it so that there are no warnings (we have a few). The ruleset could be reduced and refined with future PRs (out of scope for this one IMHO).

@ened

ened commented Jul 10, 2023

Copy link
Copy Markdown
Contributor Author

@werediver need your help to merge it, please :)

@werediver werediver merged commit f474fe7 into PhilipsHue:master Jul 10, 2023
@ened ened deleted the swiftlint branch July 10, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants