1# Copyright 2017 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# Defines the Chromium OS style for automatic reformatting. 6# http://clang.llvm.org/docs/ClangFormatStyleOptions.html 7# Please keep all directives after this one sorted alphabetically. 8BasedOnStyle: Chromium 9 10# This is permitted by the Google and Chromium style guides, and existing code 11# uses it heavily. 12AllowAllParametersOfDeclarationOnNextLine: true 13 14# NOLINT(reason) is used heavily by existing code. 15CommentPragmas: 'NOLINT:.*' 16 17# cpplint.py does smarter #include sorting than clang-format (the former ignores 18# case and changes '-' to '_'). 19SortIncludes: false 20