forked from Dicklesworthstone/agentic_coding_flywheel_setup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.shellcheckrc
More file actions
41 lines (40 loc) · 1.89 KB
/
.shellcheckrc
File metadata and controls
41 lines (40 loc) · 1.89 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
34
35
36
37
38
39
40
41
# ShellCheck configuration for ACFS
# https://github.com/koalaman/shellcheck/wiki/Directive
# SC2015: Note that A && B || C is not if-then-else. C may run when A is true.
# We use this pattern intentionally for error handling (e.g., cmd || true)
#
# SC2317: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
# We use dynamic function calls via function references (e.g., "$fix_function" "fix")
#
# SC2016: Expressions don't expand in single quotes, use double quotes for that.
# Intentional - we use single quotes to pass literal strings to subshells
#
# SC1091: Not following: file was not specified as input
# Dynamic sourcing of related scripts is intentional
#
# SC2059: Don't use variables in printf format string
# Intentional - we use ANSI color variables in format strings
#
# SC2034: Variable appears unused
# Many variables are used by sourcing scripts or for documentation
#
# SC2155: Declare and assign separately to avoid masking return values
# Acceptable risk in simple cases where the command always succeeds
#
# SC2030/SC2031: Variable modified in subshell
# Intentional pattern in pipeline processing
# SC2086: Double quote to prevent globbing and word splitting
# Intentional word splitting in some cases for argument expansion
#
# SC2002: Useless cat
# Sometimes cat is clearer for readability in pipelines
#
# SC2076: Remove quotes from right-hand side of =~
# SC2128: Expanding an array without an index
# SC2178: Variable was used as an array but is now assigned a string
# SC2120/SC2119: Function references arguments, but none are ever passed
# These are pre-existing patterns in newproj TUI code
#
# SC2001/SC2028/SC2129/SC2153/SC2181/SC2295: Style and info-level suggestions
# Accepted patterns in this codebase
disable=SC2015,SC2317,SC2016,SC1091,SC2059,SC2034,SC2155,SC2030,SC2031,SC2086,SC2002,SC2076,SC2128,SC2178,SC2120,SC2119,SC2001,SC2028,SC2129,SC2153,SC2181,SC2295