aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/core/.clang-tidy
blob: a071105c4790106f24c516cf01caafe27f3ce35e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
# cert-*
#   -cert-dcl50-cpp
#     We use variadic functions
#   -cert-err58-cpp
#     GoogleTest creates instances in static scope in a way that trips this
#     warning for every test.
# readability-*
#   -readability-else-after-return
#   -readability-implicit-bool-conversion
#     These checks generate a bunch of noise that we're just not religious
#     about.
# modernize-*
#   -modernize-use-equals-default
#     VS 2015 and Xcode <= 8.2 don't fully support this so we don't use
#     `= default`.
#   -modernize-use-equals-delete
#     GoogleTest generates test classes that use the old idiom of making
#     default constructors and operator= private.
Checks:          'bugprone-*,cert-*,-cert-dcl50-cpp,-cert-err58-cpp,google-*,objc-*,readability-*,-readability-else-after-return,-readability-implicit-bool-conversion,misc-*,modernize-*,-modernize-use-equals-default,-modernize-use-equals-delete,clang-diagnostic-*,clang-analyzer-*'
WarningsAsErrors: ''
HeaderFilterRegex: ''
CheckOptions:
  - key:             readability-braces-around-statements.ShortStatementLines
    value:           '1'
  - key:             google-readability-braces-around-statements.ShortStatementLines
    value:           '1'
  - key:             google-readability-function-size.StatementThreshold
    value:           '800'
  - key:             google-readability-namespace-comments.ShortNamespaceLines
    value:           '10'
  - key:             google-readability-namespace-comments.SpacesBeforeComments
    value:           '2'
...