3 ms·
Shellcheck is great and is a standalone cli program, as well as a website if you don’t want to install it locally. https://www.shellcheck.net/ https://www.shel
by pletnes 5y ago
Shellcheck is great and is a standalone cli program, as well as a website if you don’t want to install it locally.
https://www.shellcheck.net/ https://www.shellcheck.net/
- lazyweb 5y agoI'd rather always check my code locally if the alternative is pasting it into a random web from. On the other hand, I wonder if the web page keeps track and could offer "best of bash mistakes".
- naniwaduni 5y agoA random web form can exfiltrate the data you paste into it (and whatever your browser lets it gather). A local program can exfiltrate ... approximately everything of value on the machine?
- dotancohen 5y agoThat's why Linux users typically install things from their distro's package manager. The bar to get malicious software in there is very very high (though it is not impossible). But if you're still using Windows, then yes, I agree.
- felipelemos 5y agoWell, you can. From the website itself: "ShellCheck is... * GPLv3: free as in freedom * available on GitHub (as is this website) * already packaged for your distro or package manager * supported as an integrated linter in major editors * available in CodeClimate, Codacy and CodeFactor to auto-check your GitHub repo * written in Haskell, if you're into that sort of thing. " Sometimes you are not in your computer, the script does not have private information (i.e. open source or something you don't care to be public). Sometimes the website is simply more convenient. *edit: formatting
- deleted 5y ago[deleted]