mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The Google style guide specifies a limit of 100 columns. https://google.github.io/styleguide/objcguide.xml?showone=Line_Length#Line_Length The Chromium style guide specifies 80. https://chromium.googlesource.com/chromium/src/+/master/styleguide/objective-c/objective-c.md
13 lines
475 B
YAML
13 lines
475 B
YAML
# Defines the Chromium style for automatic reformatting.
|
|
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
BasedOnStyle: Chromium
|
|
# This defaults to 'Auto'. Explicitly set it for a while, so that
|
|
# 'vector<vector<int> >' in existing files gets formatted to
|
|
# 'vector<vector<int>>'. ('Auto' means that clang-format will only use
|
|
# 'int>>' if the file already contains at least one such instance.)
|
|
Standard: Cpp11
|
|
SortIncludes: true
|
|
---
|
|
Language: ObjC
|
|
ColumnLimit: 100
|