-
Notifications
You must be signed in to change notification settings - Fork 287
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 #580 from yql70/main
🎨新增前端框架识别规则包
- Loading branch information
Showing
1 changed file
with
103 additions
and
0 deletions.
There are no files selected for viewing
103 changes: 103 additions & 0 deletions
103
...ain/apps/scan_conf/management/commands/open_source_package/front_end_framework_check.json
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,103 @@ | ||
[ | ||
{ | ||
"name": "前端框架检查", | ||
"description": "检查项目是否使用了指定前端框架,方便进行统计和依赖迁移。", | ||
"revision": null, | ||
"package_type": "official", | ||
"languages": [ | ||
"js", | ||
"ts" | ||
], | ||
"labels": [ | ||
"通用" | ||
], | ||
"checkrule_set": [ | ||
{ | ||
"checktool": "compass", | ||
"checkrule": "DetectAntd", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "compass", | ||
"checkrule": "DetectReact", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "compass", | ||
"checkrule": "DetectTDesign", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "compass", | ||
"checkrule": "DetectVue", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "regexscanner", | ||
"checkrule": "detect-antd-import", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "regexscanner", | ||
"checkrule": "detect-react-file", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "regexscanner", | ||
"checkrule": "detect-react-import", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "regexscanner", | ||
"checkrule": "detect-react-script", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "regexscanner", | ||
"checkrule": "detect-tdesign-import", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "regexscanner", | ||
"checkrule": "detect-vue-file", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "regexscanner", | ||
"checkrule": "detect-vue-import", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
}, | ||
{ | ||
"checktool": "regexscanner", | ||
"checkrule": "detect-vue-script", | ||
"severity": "info", | ||
"rule_params": null, | ||
"state": "enabled" | ||
} | ||
], | ||
"open_saas": false, | ||
"envs": null | ||
} | ||
] |