Skip to content

fix(shellcheck): reduce false positives in SC_SKIP_JINJA detection#228

Merged
sfowl merged 1 commit into
mainfrom
skip-jinja-fix
Jun 19, 2026
Merged

fix(shellcheck): reduce false positives in SC_SKIP_JINJA detection#228
sfowl merged 1 commit into
mainfrom
skip-jinja-fix

Conversation

@sfowl

@sfowl sfowl commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

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.

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>
@sfowl sfowl merged commit b9cd2d0 into main Jun 19, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants