🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[TOC] ## 概述 - 对脚本进行分析纠错 - 可用于持续集成中的脚本检测 - 也可用于命令行的直接检测 ## 示例 ### window ``` > choco install shellcheck > shellcheck *.sh ``` ### Makefile ``` check-scripts: # Fail if any of these files have warnings shellcheck myscripts/*.sh ``` ## #Travis CI .travis.yml ``` script: # Fail if any of these files have warnings - shellcheck myscripts/*.sh ```