-
Notifications
You must be signed in to change notification settings - Fork 79
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
#421 fix trailing comma #422
#421 fix trailing comma #422
Conversation
Thank you for the pull request!The Scribe team will do our best to address your contribution as soon as we can. The following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :) If you're not already a member of our public Matrix community, please consider joining! We'd suggest using Element as your Matrix client, and definitely join the General and iOS rooms once you're in. Also consider joining our bi-weekly Saturday dev syncs. It'd be great to have you! Maintainer checklist
|
The SwiftLint pull request workflow is checking for errors that it shouldn't be, right? |
Seems like it, @mostazomarc :) There was another implementation of the workflow from #417, but then it made sense to me to just use the pre made action 🤔 Thanks for the contribution! Let's see if we can figure this out :) |
Looking at the workflow, seems like we're missing the paths options at the top? Do you want to add those and see if it works? Note that we have |
Sure! I'll go ahead and add the paths option at the top of the workflow file, I'll make sure to use .yaml instead of .yml. |
Paths options didn't solve the problem. |
Trying to rename the file to |
So should be fine to just switch it back to |
I actually don't know why is doing all these checks as they should be disabled by the |
Ya I'm really not sure what's up... As a final check, let's maybe set it back to the state of the last passed tests via the branch for it. Differences there are:
Would you want to reset it so we can at least confirm that there's nothing new going on? Sorry for not being a bit more active on trying things. I'm currently traveling 🌴 Appreciate all the effort going into this! |
Sure! I'll reset the last two commits while we figure out what's going on. |
2878914
to
3374f9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we just need to keep the file as swiftlint.yml
, @mostazomarc 😊 Appreciate the support here! Let me know if you have any interest in working on the other linting rules. Would be super happy to make some more issues for this, or we could also check in on making some issues together for yourself and others to work on!
Contributor checklist
Description
Remove
trailing_comma
as a disabled rule from .swiftlint.yaml and fixed all errors for it in the codebase.The linter fix was tested running:
swiftlint --no-cache --config ~/com.raywenderlich.swiftlint.yml
and tested on:
Related issue