From 5deab1637f6233c2b1a2b0d3db84448a5b74124e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 13 Jan 2020 03:05:35 +0300 Subject: Travis: run clang-format --- .clang-format | 23 +++++++++++++++++++++++ .travis.yml | 5 +++++ 2 files changed, 28 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..728969c --- /dev/null +++ b/.clang-format @@ -0,0 +1,23 @@ +--- +Language: Cpp +BasedOnStyle: Chromium + +AccessModifierOffset: -4 +BreakStringLiterals: false +ColumnLimit: 100 +IncludeBlocks: Regroup +IndentWidth: 4 +SpacesBeforeTrailingComments: 1 + +IncludeCategories: + - Regex: '^".*' + Priority: 1 + - Regex: '^<(server|lexer)/' + Priority: 2 + - Regex: '^- ./cmake/boost/build/ci/travis.py --link static -- cgit v1.2.3