forked from awslabs/aws-c-io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
15 lines (14 loc) · 840 Bytes
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
Checks: 'clang-diagnostic-*,clang-analyzer-*,readability-*,modernize-*,bugprone-*,misc-*,google-runtime-int,fuchsia-restrict-system-includes,-clang-analyzer-valist.Uninitialized,-clang-analyzer-security.insecureAPI.rand,-clang-analyzer-alpha.*,-readability-magic-numbers,-readability-non-const-parameter,-readability-isolate-declaration,-readability-uppercase-literal-suffix'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*\.[h|inl]$'
FormatStyle: 'file'
# Use empty line filter to skip linting code we don't own
CheckOptions:
- key: readability-braces-around-statements.ShortStatementLines
value: '1'
- key: google-runtime-int.TypeSufix
value: '_t'
- key: fuchsia-restrict-system-includes.Includes
value: '*,-stdint.h,-stdbool.h,-assert.h'
...