forked from joshukraine/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.shellcheckrc
More file actions
33 lines (27 loc) · 1.01 KB
/
Copy path.shellcheckrc
File metadata and controls
33 lines (27 loc) · 1.01 KB
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
# ShellCheck configuration for dotfiles project
# https://www.shellcheck.net/wiki/Ignore
#
# IMPORTANT: This project targets macOS (12.3+)
# - readlink -f is supported on macOS 12.3 Monterey and later
# - Use POSIX-compatible alternatives for broader compatibility when needed
# Set shell for shell-specific checks (default to bash)
shell=bash
# Disable specific warnings globally
# SC1090: Can't follow non-constant source - Expected for dynamic sourcing
# SC1091: Not following sourced files - Expected for external files
disable=SC1090,SC1091
# Enable additional checks
# Require variable braces for consistency (e.g., ${var} not $var)
enable=require-variable-braces
# Set minimum severity level to report
# Supports: error, warning, info, style
# Default: warning
min-severity=warning
# External sources directory
# Tells shellcheck where to look for sourced files
external-sources=true
# Source path for checking sourced files
# Add common source directories
source-path=SCRIPTDIR
source-path=shared
source-path=bin/.local/bin