зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1508128 - Update our coding style config files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12221 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
1c97afe7cd
Коммит
1e099ba528
|
@ -1,4 +1,4 @@
|
|||
BasedOnStyle: Mozilla
|
||||
BasedOnStyle: Google
|
||||
|
||||
# Prevent the loss of indentation with these macros
|
||||
MacroBlockBegin: "^\
|
||||
|
@ -20,12 +20,3 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_END_INHERITED$"
|
|||
|
||||
SortIncludes: false
|
||||
|
||||
|
||||
BreakBeforeBraces: Custom
|
||||
BraceWrapping:
|
||||
AfterEnum: true
|
||||
AfterStruct: true
|
||||
AfterFunction: true
|
||||
AfterClass: true
|
||||
SplitEmptyFunction: true
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
# Clang-format style for SpiderMonkey code which is different than the standard Mozilla style.
|
||||
BasedOnStyle: Mozilla
|
||||
ColumnLimit: 99
|
||||
IndentWidth: 4
|
||||
BasedOnStyle: Google
|
||||
|
||||
# Prevent the loss of indentation with these macros
|
||||
MacroBlockBegin: "^JS_BEGIN_MACRO$"
|
||||
|
|
Загрузка…
Ссылка в новой задаче