📋 Issue Description
Replace global ShellCheck suppressions (SC2034, SC2329) with file-specific suppressions for better linting hygiene and maintainability.
🎯 Background
From PR #43 linting infrastructure review, Claude noted: "The .shellcheckrc notes that file-specific suppressions need a different approach. Consider using inline directives in specific files rather than global suppressions where appropriate."
📊 Current State
Global suppressions in .shellcheckrc:
# Suppress SC2034 (unused variables) for constants.sh as these are for external use
# Suppress SC2329 (unused functions) in test files as they're called by test frameworks
Current violations:
- SC2034 + SC2329 combined: ~101 instances across scripts and tests
- Affected files: constants.sh, test files, utility scripts
🔧 Tasks
Phase 1: Analyze Current Suppressions
Phase 2: Implement File-Specific Suppressions
Phase 3: Remove Global Suppressions
📈 Benefits
- Better linting hygiene: Only suppress warnings where actually needed
- Easier maintenance: Clear which files have which suppressions
- Improved detection: Real unused variables/functions will be caught
- Self-documenting: Suppressions explain why they're needed
🕒 Estimated Effort
- 1 hour for analysis and implementation
- Risk: Very low (configuration change only)
📝 Acceptance Criteria
🔗 Related
🏷️ Labels
technical-debt
code-quality
shellcheck
low-priority
configuration
📋 Issue Description
Replace global ShellCheck suppressions (SC2034, SC2329) with file-specific suppressions for better linting hygiene and maintainability.
🎯 Background
From PR #43 linting infrastructure review, Claude noted: "The
.shellcheckrcnotes that file-specific suppressions need a different approach. Consider using inline directives in specific files rather than global suppressions where appropriate."📊 Current State
Global suppressions in
.shellcheckrc:Current violations:
🔧 Tasks
Phase 1: Analyze Current Suppressions
Phase 2: Implement File-Specific Suppressions
constants.sh: Add file-level suppression for exported variables
Test files: Add targeted suppressions for framework functions
Other scripts: Evaluate each case individually
Phase 3: Remove Global Suppressions
.shellcheckrc📈 Benefits
🕒 Estimated Effort
📝 Acceptance Criteria
.shellcheckrc🔗 Related
🏷️ Labels
technical-debtcode-qualityshellchecklow-priorityconfiguration