stank
stank copied to clipboard
stank: analyzers for determining whether files smell like rotten POSIX shell scripts, or faintly rosy like Ruby and Python scripts
As a script author, I want stank to warn when any file begins with a Unicode BOM before the shebang line, so that I can write more portable scripts. If...
As an engineer, I want stank to help me reduce the size of my shell scripts, so that I can transfer scripts more quickly. Offer a new command line application,...
Consider replacing large portions of stank with hyperpolyglot. https://crates.io/crates/hyperpolyglot Unknown how detailed hyperpolyglot's language report on files, compared to stank's exhaustive report.
* Subversion (.svn) * Mercurial (.hg)
https://github.com/bashup/mdsh
For example, *.zsh, *.zshenv, *.zlogin, *.zlogout, *.zprofile, and *.zshrc; as well as zshenv, zlogin, zlogout, zprofile, and zshrc should be excluded from ShellCheck scans until it gets its act together...
The first two non-comment, non-blank lines in a PowerShell script should include: * `Set-PSDebug -Strict` (equivalent of POSIX sh `set -u`) * `$ErrorActionPreference = "Stop"` (equivalent of POSIX sh `set...
Given zsh's poor handling of the -f flag.
* Warn on encodings other than UTF-8 for TXT, XML, INI, .NET source, MD, (X)HTM(L), .NET languages, CMD, BAT, PS1, AHK, and all other programming languages and frameworks * Warn...