ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[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 ```