diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000000..932cf92f3a3 --- /dev/null +++ b/.clang-format @@ -0,0 +1,13 @@ +Language: JavaScript +BasedOnStyle: Google +ColumnLimit: 100 + +TabWidth: 2 +ContinuationIndentWidth: 4 +MaxEmptyLinesToKeep : 2 + +AllowShortBlocksOnASingleLine: false +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Empty +