-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #590 from owlmk/main
Update enhance_cpp.json
- Loading branch information
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[ | ||
{ | ||
"name": "【C/C++】代码质量缺陷规则包", | ||
"description": "代码质量缺陷检查,需要配合license使用,申请license: https://tencent.github.io/CodeAnalysis/zh/quickStarted/enhanceDeploy.html#%E6%A8%A1%E5%9D%97%E5%8A%9F%E8%83%BD。若有其他相关需求或疑问可提issue。", | ||
"revision": null, | ||
"package_type": "official", | ||
"languages": [ | ||
"cpp" | ||
], | ||
"labels": [ | ||
"通用", | ||
"代码质量类" | ||
], | ||
"checkrule_set": [ | ||
{ | ||
"checktool": "tca_ql_cpp", | ||
"checkrule": "array_overflow", | ||
"severity": "error", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "tca_ql_cpp", | ||
"checkrule": "buff_overflow", | ||
"severity": "error", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "tca_ql_cpp", | ||
"checkrule": "dead_lock", | ||
"severity": "error", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "tca_ql_cpp", | ||
"checkrule": "func_ret_null", | ||
"severity": "warning", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "tca_ql_cpp", | ||
"checkrule": "missing_lock", | ||
"severity": "error", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "tca_ql_cpp", | ||
"checkrule": "resource_leak", | ||
"severity": "error", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "tca_ql_cpp", | ||
"checkrule": "unused_value", | ||
"severity": "warning", | ||
"rule_params": null, | ||
"state": "enabled" | ||
} | ||
], | ||
"open_saas": false, | ||
"envs": null | ||
} | ||
] |