41 lines
924 B
Plaintext
41 lines
924 B
Plaintext
|
|
# ShellCheck Configuration Template
|
||
|
|
# Bash/shell script linting configuration
|
||
|
|
# Generated by dev-system/ci
|
||
|
|
# Location: .shellcheckrc
|
||
|
|
|
||
|
|
|
||
|
|
# Generated by dev-system/ci
|
||
|
|
# ShellCheck configuration for Bash script validation
|
||
|
|
|
||
|
|
# Enable all optional checks
|
||
|
|
enable=all
|
||
|
|
|
||
|
|
# Disable specific checks that are too strict
|
||
|
|
# SC1091 - Not following sourced files (noisy in monorepos)
|
||
|
|
# disable=SC1091
|
||
|
|
|
||
|
|
# Source path for sourced files
|
||
|
|
source-path=SCRIPTDIR
|
||
|
|
|
||
|
|
# Severity levels: error, warning, info, style
|
||
|
|
severity=warning
|
||
|
|
|
||
|
|
# Format: gcc, json, json1, quiet
|
||
|
|
format=gcc
|
||
|
|
|
||
|
|
# Exit status thresholds
|
||
|
|
# 0: All checks passed
|
||
|
|
# 1: Warning found
|
||
|
|
# 2: Error found
|
||
|
|
|
||
|
|
# Shell dialect (bash, sh, ksh, etc)
|
||
|
|
# shell=bash
|
||
|
|
|
||
|
|
# Check style guide compliance
|
||
|
|
# These are considered good practices but optional
|
||
|
|
|
||
|
|
# Common problematic patterns
|
||
|
|
# SC2086 - Double quote to prevent globbing
|
||
|
|
# SC2181 - Check exit code explicitly
|
||
|
|
# SC2207 - Array from command substitution
|