cleanup
This commit is contained in:
parent
17b6f68ab4
commit
b2d47d6cc1
|
@ -1,2 +1,8 @@
|
|||
BasedOnStyle: Google
|
||||
IndentWidth: 4
|
||||
ColumnLimit: 100
|
||||
InsertBraces: true
|
||||
ColumnLimit: 79
|
||||
AlignConsecutiveMacros: Consecutive
|
||||
AllowShortFunctionsOnASingleLine: None
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
Checks: |
|
||||
-*,
|
||||
abseil-*,
|
||||
bugprone-*,
|
||||
clang-analyzer-*,
|
||||
misc-*,
|
||||
modernize-*,
|
||||
performance-*,
|
||||
portability-*,
|
||||
readability-*,
|
||||
llvm-*,
|
||||
-bugprone-easily-swappable-parameters,
|
||||
-readability-avoid-const-params-in-decls,
|
||||
-readability-identifier-length
|
||||
|
||||
CheckOptions:
|
||||
- key: readability-inconsistent-declaration-parameter-name.Strict
|
||||
value: true
|
||||
- key: readability-identifier-naming.StructCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.FunctionCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.VariableCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.EnumConstantCase
|
||||
value: UPPER_CASE
|
||||
- key: readability-identifier-naming.MacroDefinitionCase
|
||||
value: UPPER_CASE
|
||||
- key: readability-function-cognitive-complexity.Threshold
|
||||
value: 15
|
|
@ -0,0 +1,3 @@
|
|||
Diagnostics:
|
||||
UnusedIncludes: Strict
|
||||
MissingIncludes: Strict
|
|
@ -1,44 +0,0 @@
|
|||
[
|
||||
{
|
||||
"arguments": [
|
||||
"/usr/bin/cc",
|
||||
"-c",
|
||||
"-std=c99",
|
||||
"-pedantic",
|
||||
"-Wall",
|
||||
"-Wno-deprecated-declarations",
|
||||
"-Os",
|
||||
"-I/usr/X11R6/include",
|
||||
"-I/usr/include/freetype2",
|
||||
"-D_DEFAULT_SOURCE",
|
||||
"-D_BSD_SOURCE",
|
||||
"-D_POSIX_C_SOURCE=200809L",
|
||||
"-DVERSION=\"6.4\"",
|
||||
"-DXINERAMA",
|
||||
"drw.c"
|
||||
],
|
||||
"directory": "/home/luca/.local/src/dwm",
|
||||
"file": "/home/luca/.local/src/dwm/drw.c"
|
||||
},
|
||||
{
|
||||
"arguments": [
|
||||
"/usr/bin/cc",
|
||||
"-c",
|
||||
"-std=c99",
|
||||
"-pedantic",
|
||||
"-Wall",
|
||||
"-Wno-deprecated-declarations",
|
||||
"-Os",
|
||||
"-I/usr/X11R6/include",
|
||||
"-I/usr/include/freetype2",
|
||||
"-D_DEFAULT_SOURCE",
|
||||
"-D_BSD_SOURCE",
|
||||
"-D_POSIX_C_SOURCE=200809L",
|
||||
"-DVERSION=\"6.4\"",
|
||||
"-DXINERAMA",
|
||||
"dwm.c"
|
||||
],
|
||||
"directory": "/home/luca/.local/src/dwm",
|
||||
"file": "/home/luca/.local/src/dwm/dwm.c"
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue