Add static-check description in CONTRIBUTING.md (#8209)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/8224/head
congqixia 2021-09-18 16:03:51 +08:00 committed by GitHub
parent 8b99b6c6c5
commit aa951e4acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -104,6 +104,11 @@ Keeping a consistent style for code, code comments, commit messages, and PR desc
### Go
- Coding style: refer to the [Effictive Go Style Guide](https://golang.org/doc/effective_go)
We also use `golangci-lint` to perform code check. Run the following command before submit your pull request and make sure there is no issue reported:
```shell
$ make static-check
```
###C++
The c++ coding style used in Milvus generally follow [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html).
And we made the following changes based on the guide: