]> git.sesse.net Git - stockfish/blobdiff - CONTRIBUTING.md
add clang-format
[stockfish] / CONTRIBUTING.md
index 7667a9423255f7252d8114ecb82d7a7e7524a694..9e72e1db6bcd4c040e69aac38dc24d0cfa053396 100644 (file)
@@ -57,8 +57,9 @@ discussion._
 
 ## Code Style
 
-We do not have a strict code style. But it is best to stick to the existing
-style of the file you are editing.
+Changes to Stockfish C++ code should respect our coding style defined by
+[.clang-format](.clang-format). You can format your changes by running
+`make format`. This requires clang-format version 17 to be installed on your system.
 
 ## Community and Communication