<commit_before>+++
date = "2016-08-15T16:11:58+05:30"
title = "Contribution Guidelines"
[menu.main]
  weight = 0
  parent="contributing"
+++<commit_msg>Add coding style to contribution guidelines (#751)<commit_after>+++
date = "2016-08-15T16:11:58+05:30"
title = "Contribution Guidelines"
[menu.main]
  weight = 0
  parent="contributing"
+++

### Code Style

When contributing code, in addition to following the [C++ Core Guidelines](https://github.com/isocpp/CppCoreGuidelines), please follow the same [design guidelines](https://github.com/mongodb/mongo/wiki/Server-Design-Guidelines) and [style guidelines](https://github.com/mongodb/mongo/wiki/Style-Guidelines) as [mongodb/mongo](https://github.com/mongodb/mongo). Additions and exceptions are listed below. For anything that isn't explicitly covered here, default to the [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html#Scoping). Running [clang-format](https://clang.llvm.org/docs/ClangFormat.html) with our configuration file, [mongo-cxx-driver/.clang-format](https://github.com/mongodb/mongo-cxx-driver/blob/master/.clang-format), will help ensure your code conforms to the above standards.
{'fraction_non_alphanumeric': 0.1465076660988075, 'fraction_numerical': 0.03492333901192504, 'mean_word_length': 5.714285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5431645', 'n_tokens_mistral': 404, 'n_tokens_neox': 367, 'n_words': 87}