diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 330b38f6..9540f34f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,6 +60,18 @@ See the [WebM Project page](https://www.webmproject.org/code/contribute/submitting-patches/) for additional details. +## Code Style + +The C code style is based on the +[Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html) and +`clang-format --style=Google`, though this project doesn't use the tool to +enforce the formatting. + +CMake files are formatted with +[cmake-format](https://cmake-format.readthedocs.io/en/latest/). `cmake-format +-i` can be used to format individual files, it will use the settings from +`.cmake-format.py`. + ## Community Guidelines This project follows