Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SwiftLint analyzer #837

Open
mathebox opened this issue Oct 6, 2020 · 0 comments
Open

Use SwiftLint analyzer #837

mathebox opened this issue Oct 6, 2020 · 0 comments

Comments

@mathebox
Copy link
Member

mathebox commented Oct 6, 2020

Is your feature request related to a problem? Please describe.
SwiftLint provides an analyzer for more advanced linting activities, like explicit_self.

Describe the solution you'd like
Make use of it.

Additional context
https://github.com/realm/SwiftLint

Example how to run the analyzer:
https://github.com/jpsim/Yams/blob/9bb6c5de9134b9dfe9698dc62dd57a8bbbf831af/.github/workflows/swiftlint_analyze.yml#L29-L35
https://github.com/jpsim/Yams/blob/9bb6c5de9134b9dfe9698dc62dd57a8bbbf831af/.swiftlint.yml#L4-L6

Possible Xcode fix:
https://developer.apple.com/forums/thread/660782

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant