-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pre commit hooks and start filling the documentation on how to co…
…ntribute
- Loading branch information
Yevhen Zavhorodnii
committed
Feb 6, 2024
1 parent
dcfa9ca
commit c46061f
Showing
4 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Contributing to Threagile | ||
|
||
:+1::tada: First of all, thanks for taking the time to contribute! :tada::+1: | ||
|
||
All your contributions are very welcome, whether it's: | ||
|
||
- Reporting a bug | ||
- Discussing the current state of the code | ||
- Submitting a fix | ||
- Proposing new features | ||
- Becoming a maintainer | ||
|
||
Thank you so much! :clap: | ||
|
||
## Development | ||
|
||
Before running the project please install | ||
|
||
- [go 1.21.0](https://go.dev/doc/install) | ||
- [Docker](https://docs.docker.com/engine/install/) | ||
- [pre-commit](https://pre-commit.com/) | ||
- [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) | ||
- [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports) | ||
|
||
Main program is [threagile](./cmd/threagile/main.go). | ||
|
||
## Contribution | ||
|
||
To contribute the code simply make changes and create pull request. There is no strict rules about pull requests format like [this](https://www.pullrequest.com/blog/writing-a-great-pull-request-description/) however please take into consideration: | ||
|
||
- it is easy to understand what the code change is achieving and why it was added | ||
- new change is covered with unit tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters