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

Side by Side Diff: ui/webui/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 3 years, 12 months 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
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
7 AllowShortBlocksOnASingleLine: false
8 AllowShortCaseLabelsOnASingleLine: false
9 AllowShortFunctionsOnASingleLine: Empty
10 AllowShortIfStatementsOnASingleLine: false
11 AllowShortLoopsOnASingleLine: false
12 SpacesInContainerLiterals: false
13 SpacesInSquareBrackets: false
OLDNEW
« no previous file with comments | « chrome/browser/resources/.clang-format ('k') | ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698