I came up with some astyle flags that seem close to the webkit requirments. I'd like to use astyle if possible. astyle \ --mode=c \ --convert-tabs \ --indent=spaces=4 \ --brackets=linux \ --indent-switches \ --max-instatement-indent=40 \ --min-conditional-indent=4 \ --one-line=keep-statements \ --one-line=keep-blocks \ $@