blob: a7706300184a4d03e7ef1888f6a357d850dc933a [file] [log] [blame]
jingjiangli40b306c2022-01-23 18:08:49 -08001# Trusty Style
2# This is a Google-derived style with 4-space indent and a few quirks for
3# systems code.
4BasedOnStyle: Chromium
5# 4-space indent, no tabs.
6IndentWidth: 4
7UseTab: Never
8TabWidth: 4
9# Double indent arguments when none of them are on the first line.
10ContinuationIndentWidth: 8
11ConstructorInitializerIndentWidth: 8
12# Don't indent public/private/protected.
13# It's a little more common to do a half indent, but folks didn't like that.
14AccessModifierOffset: -4
15# Don't indent case labels.
16IndentCaseLabels: false
17# Don't break strings to make it easier to grep for error messages.
18# Note: this can result in lines that exceed the column limit.
19BreakStringLiterals: false
20