Chromium Code Reviews| Index: chrome/browser/resources/.clang-format |
| diff --git a/chrome/browser/resources/.clang-format b/chrome/browser/resources/.clang-format |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4d25b73988ff076891c1c64af83459d3a7d2de10 |
| --- /dev/null |
| +++ b/chrome/browser/resources/.clang-format |
| @@ -0,0 +1,13 @@ |
| +BasedOnStyle: Chromium |
| + |
| +# Renaming quotes in <include> and <if> break things. |
| +# For normal JS code, please prefer ' to ". |
| +JavaScriptQuotes: Leave |
|
stevenjb
2016/12/22 20:51:34
Does this break things in all subdirectories? If i
Dan Beam
2016/12/22 20:54:30
Anywhere that does <include src="blah.js"> will ge
|
| + |
| +AllowShortBlocksOnASingleLine: false |
| +AllowShortCaseLabelsOnASingleLine: false |
| +AllowShortFunctionsOnASingleLine: false |
| +AllowShortIfStatementsOnASingleLine: false |
| +AllowShortLoopsOnASingleLine: false |
| +SpacesInContainerLiterals: false |
| +SpacesInSquareBrackets: false |