-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.shellcheckrc
More file actions
39 lines (29 loc) · 928 Bytes
/
.shellcheckrc
File metadata and controls
39 lines (29 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# ShellCheck Configuration
# https://github.com/koalaman/shellcheck/wiki/Instructions
# Enable all checks by default
enable=all
# Disable specific checks
disable=SC1091 # Not following non-constant source
disable=SC2034 # Unused variables (for configuration variables)
disable=SC2154 # Referenced but not assigned (variables from sourced files)
disable=SC2250 # Prefer putting braces around variable references (style preference)
disable=SC2292 # Prefer [[ ]] over [ ] for tests (style preference)
disable=SC2310 # Function invoked in condition disables set -e (acceptable pattern)
disable=SC2153
# Set severity level
severity=warning
# Check sourced files
check-sourced=true
# External sources
external-sources=true
# Shell dialect
shell=bash
# Minimum severity to consider
# error, warning, info, style
minimum-severity=warning
# Format output
format=gcc
# Color output
color=always
# Follow files
follow=true