[ci]: disable noisy checks (#365)

* disable `cert-err33-c` and `readability-identifier-length` check
  which causes warnings on clang-tidy v14.
* disable all "readability" checks by default, instead just opt-into the
  useful ones (such as duplicate include).

Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/365
Reviewed-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
This commit is contained in:
NRK 2022-09-05 03:47:32 +02:00
parent 32bfe58915
commit ba39006574

View file

@ -1,16 +1,13 @@
# checks
clang-analyzer-*,clang-diagnostic-*,bugprone-*,performance-*,modernize-*
misc-*,readability-*,android-cloexec-*,cert-*
llvm-include-order
misc-*,android-cloexec-*,cert-*,llvm-include-order
-readability-*,readability-duplicate-include,readability-misleading-indentation
# silence
-misc-unused-parameters
-bugprone-easily-swappable-parameters,-bugprone-narrowing-conversions,-bugprone-incorrect-roundings
-bugprone-implicit-widening-of-multiplication-result,-bugprone-integer-division
-readability-braces-around-statements,-readability-magic-numbers,-readability-isolate-declaration
-readability-function-cognitive-complexity,-readability-else-after-return
-readability-uppercase-literal-suffix,-readability-avoid-const-params-in-decls
-android-cloexec-fopen,-android-cloexec-pipe
-android-cloexec-fopen,-android-cloexec-pipe,-cert-err33-c
# false positive warnings
-clang-analyzer-valist.Uninitialized