-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Improve docs on how to start contributing #1280
Comments
I'd like to get more familiar with the SwiftLint code base and try to do my first contribution by improving the documentation. Is this ticket still valid? |
Documentation can always be improved! Maybe you could start by reading #1161 and |
Thanks. I'll have a look. |
I read through the documentation and executed its steps. There's one thing I stumbled upon and it doesn't seem to be documented. It's mentioned in multiple files to fetch the git submodules and I couldn't find the reason for it. The documentation to make changes to the code base uses Swift Package Manager commands. Swift PM doesn't use git submodules as far as I know. |
The git submodules are used when using the Xcode project & workspace (e.g. They’re not needed when building using the Swift Package Manager either from the command line or Xcode’s support for it (e.g. The Carthage setup is used to handle version control for the git submodules. It was also useful at a point in time for consumers of SwiftLintFramework that wanted to integrate it using Carthage. I would love to remove the git submodule, Cartfile(s) and Xcode workspace+project and only support Swift Package Manager, but before doing that we should check to see if 1) that breaks Carthage users of SwiftLintFramework and/or 2) if there even are any users of SwiftLintFramework using Carthage to see if it’s worth continuing to support them. |
The instruction wasn't clear to me and it took me some time to figure out what to insert into the "Working Directory" option. Co-Authored-By: oonoo <2565796+oonoo@users.noreply.github.com>
…ealm#1280) I wasn't sure which arguments could be passed to SwiftLint. I referenced the Command Line paragraph in the README, it already lists the available arguments. Co-Authored-By: oonoo <2565796+oonoo@users.noreply.github.com>
The reason to checkout git submodules wasn't mentioned. I added the use cases for submodules, as Swift Package Manager doesn't make use of the git submodules.
Limit line length to 80 characters in "Using Xcode" section of CONTRIBUTING.md.
* Improve "Working Directory" instructions in CONTRIBUTING.md (#1280) The instruction wasn't clear to me and it took me some time to figure out what to insert into the "Working Directory" option. Co-Authored-By: oonoo <2565796+oonoo@users.noreply.github.com> * Improve "Arguments Passed On Launch" instructions in CONTRIBUTING.md (#1280) I wasn't sure which arguments could be passed to SwiftLint. I referenced the Command Line paragraph in the README, it already lists the available arguments. Co-Authored-By: oonoo <2565796+oonoo@users.noreply.github.com> * Add more details to "Submodules" in CONTRIBUTING.md (#1280) The reason to checkout git submodules wasn't mentioned. I added the use cases for submodules, as Swift Package Manager doesn't make use of the git submodules. * Format "Using Xcode" in CONTRIBUTING.md (#1280) Limit line length to 80 characters in "Using Xcode" section of CONTRIBUTING.md. * Document changes in CHANGELOG.md (#1280) * Add missing word Co-authored-by: oonoo <2565796+oonoo@users.noreply.github.com> Co-authored-by: JP Simard <jp@jpsim.com>
This issue has been automatically marked as stale because it has not had any recent activity. Please comment to prevent this issue from being closed. Thank you for your contributions! |
#1161 has some useful tips.
The text was updated successfully, but these errors were encountered: