voedger / kb

Knowledge base
0 stars 0 forks source link

guide: bash #25

Open maxim-ge opened 1 year ago

maxim-ge commented 1 year ago

Tools

ShellCheck

Should be used with Bash IDE (see below).

VS Code extension: Bash IDE

Configuration:

.gitattribues (otherwise ShellCheck produces a lot of warnings)

*.sh text eol=lf

Ignore in particular file:

#!/usr/bin/env bash
#shellcheck disable=all

Use LF for end of lines for existing files: image