Skip to content

y-script-lint followup#72

Merged
solsson merged 3 commits intomainfrom
y-script-lint-followup
Mar 24, 2026
Merged

y-script-lint followup#72
solsson merged 3 commits intomainfrom
y-script-lint-followup

Conversation

@solsson
Copy link
Collaborator

@solsson solsson commented Mar 24, 2026

refinements since #71

Yolean k8s-qa and others added 3 commits March 23, 2026 11:16
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Bare `|| true` silently swallows errors and defeats set -e. Add a check
that flags it as FAIL unless suppressed with a disable directive:
  # y-script-lint:disable=or-true # reason
on the preceding line or inline. The directive is invisible to shellcheck.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The check_help_handler regex only matched standalone 'help)' at the
start of a line, missing compound patterns like '-h|--help|help)'.
Add '|help)' pattern to catch help as part of a multi-alternative
case branch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@solsson solsson merged commit b7fa065 into main Mar 24, 2026
1 check 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.

1 participant