web-stack-project/.clangd
2023-01-08 18:41:40 +01:00

41 lines
1.7 KiB
Plaintext

CompileFlags:
CompilationDatabase: ./builddir
Diagnostics:
ClangTidy:
Add:
- bugprone-*
- clang-analyzer-*
- cppcoreguidelines-*
- modernize-*
- readability-*
Remove:
- readability-braces-around-statements
- cppcoreguidelines-avoid-magic-numbers
- readability-magic-numbers
- readability-identifier-length
- bugprone-easily-swappable-parameters
CheckOptions:
UnusedIncludes: Strict
# typecase rules
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.ConstantCase: lower_case
readability-identifier-naming.EnumCase: CamelCase
readability-identifier-naming.EnumConstantCase: CamelCase
readability-identifier-naming.FunctionCase: lower_case
readability-identifier-naming.InlineNamespaceCase: lower_case
readability-identifier-naming.MacroDefinitionCase: UPPER_CASE
readability-identifier-naming.MemberCase: lower_case
readability-identifier-naming.MethodCase: lower_case
readability-identifier-naming.NamespaceCase: lower_case
readability-identifier-naming.ScopedEnumConstantCase: CamelCase
readability-identifier-naming.StructCase: CamelCase
readability-identifier-naming.TemplateParameterCase: CamelCase
readability-identifier-naming.TemplateTemplateParameterCase: CamelCase
readability-identifier-naming.TypeAliasCase: CamelCase
readability-identifier-naming.TypedefCase: CamelCase
readability-identifier-naming.UnionCase: CamelCase
readability-identifier-naming.ValueTemplateParameterCase: lower_case
readability-identifier-naming.VariableCase: lower_case