Commit b9cd2d0
fix(shellcheck): reduce false positives in SC_SKIP_JINJA detection
Require triple braces ({{{) instead of double ({{) to avoid matching
Go template syntax in docker/kubectl/oc format arguments. Use PCRE
negative lookbehind to exclude bash ${#...} parameter expansion from
triggering the {# Jinja2 comment pattern.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent bb48252 commit b9cd2d0
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments