settings.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "commentTranslate.hover.enabled": false,
  3. "clangd.arguments": [
  4. "--compile-commands-dir=.vscode",
  5. ],
  6. "C_Cpp.codeAnalysis.clangTidy.args": [
  7. // "--extra-arg=-ferror-limit=1"
  8. // "--extra-arg=-m32",
  9. ],
  10. "C_Cpp.codeAnalysis.clangTidy.checks.disabled": [
  11. "bugprone-easily-swappable-parameters",
  12. "bugprone-narrowing-conversions",
  13. "llvm-include-order",
  14. "llvm-header-guard",
  15. "llvm-else-after-return",
  16. "bugprone-narrowing-conversions",
  17. "bugprone-implicit-widening-of-multiplication-result"
  18. ],
  19. "C_Cpp.codeAnalysis.clangTidy.enabled": true,
  20. // "c-cpp-flylint.enable": true,
  21. "c-cpp-flylint.cppcheck.severityLevels": {
  22. "error": "Error",
  23. "warning": "Warning",
  24. "style": "Information",
  25. "performance": "Information",
  26. "portability": "Information",
  27. "information": "Information"
  28. },
  29. "c-cpp-flylint.cppcheck.extraArgs": [
  30. // "--suppress=constParameterPointer",
  31. // "--suppress=constParameterCallback",
  32. "--check-level=exhaustive",
  33. // "--suppress=variableScope",
  34. // "--suppress=unreadVariable",
  35. // "--suppress=constVariablePointer",
  36. // "--suppress=constParameter",
  37. ],
  38. "files.associations": {
  39. "*.c": "c",
  40. "ryanmqttlog.h": "c",
  41. "type_traits": "c",
  42. "param.h": "c",
  43. "tcp.h": "c",
  44. "fcntl.h": "c",
  45. "in.h": "c",
  46. "inet.h": "c"
  47. }
  48. }