Skip to content

BASH

Linters

Linter Additional
bash-exec
BASH_EXEC
shellcheck
BASH_SHELLCHECK
GitHub stars sarif
shfmt
BASH_SHFMT
GitHub stars formatter

Linted files

  • File extensions:
    • .sh
    • .bash
    • .dash
    • .ksh

Configuration in MegaLinter

Variable Description Default value
BASH_FILTER_REGEX_INCLUDE Custom regex including filter
BASH_FILTER_REGEX_EXCLUDE Custom regex excluding filter

Behind the scenes

Installation

  • APK packages (Linux):