mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
0a19c16778
Also remove identifier rules that are C++ only.
58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
---
|
|
|
|
Checks: >
|
|
-*,
|
|
bugprone-*,
|
|
cert-env33-c,
|
|
cert-err34-c,
|
|
cert-flp30-c,
|
|
cert-msc30-c,
|
|
clang-analyzer-*,
|
|
clang-diagnostics-*,
|
|
google-*,
|
|
misc-*,
|
|
misc-non-copyable-objects,
|
|
misc-static-assert,
|
|
performance-*,
|
|
portability-*,
|
|
readability-*,
|
|
-bugprone-assignment-in-if-condition,
|
|
-bugprone-branch-clone,
|
|
-bugprone-easily-swappable-parameters,
|
|
-bugprone-narrowing-conversions,
|
|
-bugprone-sizeof-expression,
|
|
-bugprone-unused-return-value,
|
|
-clang-analyzer-security.insecureAPI.strcpy,
|
|
-google-readability-function-size,
|
|
-misc-no-recursion,
|
|
-misc-unused-parameters,
|
|
-performance-no-int-to-ptr,
|
|
-readability-else-after-return,
|
|
-readability-function-*,
|
|
-readability-identifier-length,
|
|
-readability-isolate-declaration,
|
|
-readability-magic-numbers,
|
|
-readability-redundant-function-ptr-dereference,
|
|
-readability-suspicious-call-argument,
|
|
|
|
CheckOptions:
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.GlobalConstantCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.GlobalConstantPrefix
|
|
value: k
|
|
- key: readability-identifier-naming.StaticConstantCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.StaticConstantPrefix
|
|
value: k
|
|
- key: readability-identifier-naming.StructCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.VariableCase
|
|
value: lower_case
|
|
|
|
WarningsAsErrors: ''
|
|
|
|
HeaderFilterRegex: "(src/[cjson|klib|mpack|unicode|xdiff]/).*\\.h$"
|
|
...
|