Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: chrome/browser/resources/.clang-format

Issue 2603443002: Clang format JS: Disallow single line functions, conditionals, loops, and switch statements (Closed)
Patch Set: update c/b/r/ as well Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/webui/resources/.clang-format » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/.clang-format
diff --git a/chrome/browser/resources/.clang-format b/chrome/browser/resources/.clang-format
index 4d25b73988ff076891c1c64af83459d3a7d2de10..8fd4c4a3b70657b74614bf8fe7d200db5db458b4 100644
--- a/chrome/browser/resources/.clang-format
+++ b/chrome/browser/resources/.clang-format
@@ -6,7 +6,7 @@ JavaScriptQuotes: Leave
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
-AllowShortFunctionsOnASingleLine: false
+AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
SpacesInContainerLiterals: false
« no previous file with comments | « no previous file | ui/webui/resources/.clang-format » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698