📝 clang-format on Electron C++ code.

This commit is contained in:
Haojian Wu 2016-10-04 23:27:22 +02:00
parent a846088eac
commit 0d930b65f1
3 changed files with 38 additions and 2 deletions

View file

@ -8,8 +8,9 @@ You can run `npm run lint` to show any style issues detected by `cpplint` and
## C++ and Python
For C++ and Python, we follow Chromium's [Coding
Style](http://www.chromium.org/developers/coding-style). There is also a
script `script/cpplint.py` to check whether all files conform.
Style](http://www.chromium.org/developers/coding-style). You can use
[clang-format](clang-format.md) to format the C++ code automatically. There is
also a script `script/cpplint.py` to check whether all files conform.
The Python version we are using now is Python 2.7.