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

Unified Diff: ui/webui/resources/.clang-format

Issue 2662323002: Revert of Drop .clang-format in ui/webui now that Chromium JS defaults are the same (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/.clang-format ('k') | ui/webui/resources/cr_elements/cr_scrollable_behavior.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/.clang-format
diff --git a/ui/webui/resources/.clang-format b/ui/webui/resources/.clang-format
new file mode 100644
index 0000000000000000000000000000000000000000..2baaa8d830e14de63b3b289608614f0e8fd04540
--- /dev/null
+++ b/ui/webui/resources/.clang-format
@@ -0,0 +1,8 @@
+# Please keep this file the same as chrome/browser/resources/.clang-format.
+BasedOnStyle: Chromium
+
+# Renaming quotes in <include> and <if> break things.
+# For normal JS code, please prefer ' to ".
+JavaScriptQuotes: Leave
+
+AllowShortFunctionsOnASingleLine: Empty
« no previous file with comments | « chrome/browser/resources/.clang-format ('k') | ui/webui/resources/cr_elements/cr_scrollable_behavior.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698