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 |