mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
731cdde28e
Enable and fix bugprone-misplaced-widening-cast warning. Fix some modernize-macro-to-enum and readability-else-after-return warnings, but don't enable them. While the warnings can be useful, they are in general too noisy to enable.
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
Checks: >
|
|
-*,
|
|
|
|
bugprone-*,
|
|
google-*,
|
|
misc-*,
|
|
modernize-*,
|
|
performance-*,
|
|
portability-*,
|
|
readability-*,
|
|
|
|
-bugprone-assignment-in-if-condition,
|
|
-bugprone-branch-clone,
|
|
-bugprone-easily-swappable-parameters,
|
|
-bugprone-implicit-widening-of-multiplication-result,
|
|
-bugprone-macro-parentheses,
|
|
-bugprone-narrowing-conversions,
|
|
-bugprone-not-null-terminated-result,
|
|
-bugprone-reserved-identifier,
|
|
-bugprone-sizeof-expression,
|
|
-bugprone-suspicious-include,
|
|
-bugprone-suspicious-memory-comparison,
|
|
-bugprone-unused-return-value,
|
|
-google-readability-braces-around-statements,
|
|
-google-readability-function-size,
|
|
-misc-misplaced-const,
|
|
-misc-no-recursion,
|
|
-misc-unused-parameters,
|
|
-modernize-macro-to-enum,
|
|
-performance-no-int-to-ptr,
|
|
-readability-avoid-const-params-in-decls,
|
|
-readability-braces-around-statements,
|
|
-readability-else-after-return,
|
|
-readability-function-cognitive-complexity,
|
|
-readability-function-size,
|
|
-readability-identifier-length,
|
|
-readability-isolate-declaration,
|
|
-readability-magic-numbers,
|
|
-readability-misleading-indentation,
|
|
-readability-redundant-declaration,
|
|
-readability-redundant-function-ptr-dereference,
|
|
-readability-suspicious-call-argument,
|