Commit 83d31e1
SKUNK-1029 Document by_ref exception for shell rule S1481 (#5952)
* Document by_ref exception for shell rule S1481
Add exception to S1481 shell rule documenting that variables passed by
reference to functions containing 'by_ref' in their name are considered
used. This prevents false positives when variables are passed as plain
word arguments to functions that modify them indirectly.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Use "Special Cases" rather than exception
This is not exactly an exception, we still check that it is used, but in another way.
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent e47d6d5 commit 83d31e1
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
3 | 15 | | |
4 | 16 | | |
5 | 17 | | |
| |||
0 commit comments