Skip to content

Latest commit

 

History

History
71 lines (42 loc) · 3.4 KB

CONTRIBUTING.md

File metadata and controls

71 lines (42 loc) · 3.4 KB

Contributing to SonarQube Plugin for Swift

The following is a set of guidelines for contributing to SonarQube Plugin for Swift on GitHub.

Above all, thank you for your interest in the project and for taking the time to contribute! 👍

I want to report a problem or ask a question

Before submitting a new GitHub issue, please make sure to

If the above doesn't help, please submit an issue on GitHub and provide information about your setup (SonarQube version, etc.)

Note: If you want to report a regression in SonarQube Plugin for Swift (something that has worked before, but broke with a new release), please mark your issue title as such using [Regression] Your title here. This enables us to quickly detect and fix regressions.

I want to contribute to SonarQube Plugin for Swift

Prerequisites

To develop SonarQube Plugin for Swift, you will need to meet the prerequisites as specified in the README.

Checking out the repository

  • Make sure you are on the develop branch: https://github.com/tal-tech/sonar-swift/tree/develop
  • Click the “Fork” button in the upper right corner of repo
  • Clone your fork:
  • Create a new branch to work on:
    • git checkout -b <YOUR_BRANCH_NAME>
    • A good name for a branch describes the thing you’ll be working on, e.g. add-swiftlint-rules, fix-swift-lexer, etc.

That’s it! Now you’re ready to work on SonarQube Plugin for Swift.

Things to keep in mind

  • Please do not change the minimum SonarQube version
  • Always document new public methods and properties

Testing your local changes

Before opening a pull request, please make sure your changes don't break things.

  • The project and the plugin should build without warnings
  • The Swift Language Weather project should run without issues

Submitting the PR

When the coding is done and you’ve finished testing your changes, you are ready to submit the PR to the main repo. Again, make sure you submit your PR to the develop branch: https://github.com/tal-tech/sonar-swift/tree/develop

Some best practices are:

  • Use a descriptive title
  • Link the issues that are related to your PR in the body

Code of Conduct

Help us keep SonarQube Plugin for Swift open and inclusive. Please read and follow our Code of Conduct.

Above All, Thanks for Your Contributions

Thank you for reading to the end, and for taking the time to contribute to the project! If you include the 🔑 emoji at the top of the body of your issue or pull request, we'll know that you've given this your full attention and are doing your best to help!

License

This project is licensed under the terms of the GNU LGPL v3 license. See the LICENSE file for more info.

These contribution guidelines were adapted from fastlane guides.