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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/webui/resources/.clang-format » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 BasedOnStyle: Chromium 1 BasedOnStyle: Chromium
2 2
3 # Renaming quotes in <include> and <if> break things. 3 # Renaming quotes in <include> and <if> break things.
4 # For normal JS code, please prefer ' to ". 4 # For normal JS code, please prefer ' to ".
5 JavaScriptQuotes: Leave 5 JavaScriptQuotes: Leave
6 6
7 AllowShortBlocksOnASingleLine: false 7 AllowShortBlocksOnASingleLine: false
8 AllowShortCaseLabelsOnASingleLine: false 8 AllowShortCaseLabelsOnASingleLine: false
9 AllowShortFunctionsOnASingleLine: false 9 AllowShortFunctionsOnASingleLine: Empty
10 AllowShortIfStatementsOnASingleLine: false 10 AllowShortIfStatementsOnASingleLine: false
11 AllowShortLoopsOnASingleLine: false 11 AllowShortLoopsOnASingleLine: false
12 SpacesInContainerLiterals: false 12 SpacesInContainerLiterals: false
13 SpacesInSquareBrackets: false 13 SpacesInSquareBrackets: false
OLDNEW
« 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