Skip to content

Linter 0.8.1: drop the workaround directives in apps 319, 489 and 493 - #85

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/peaceful-pascal-4z2w4v
Sep 27, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/peaceful-pascal-4z2w4v

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Dependencies: @abap2ui5/linter and @abap2ui5/linter-render ^0.8.0 → ^0.8.1.

Workarounds removed:

  • Z2UI5_CL_SMPS_APP_319 and _489: the handler-without-event blocks and their "the linter reads any WHEN as a handler" comments. 0.8.1 only counts WHENs of a CASE over the event.
  • Z2UI5_CL_SMPS_APP_493: the smart-variant-without-init block. 0.8.1 knows filter_bar_variant_init. The comment still says which handshake the app uses.
  • Z2UI5_CL_SMPS_APP_000: the rename to cs_backend_event stays because it is clearer. Its ABAP Doc no longer justifies it with the linter.

Checks: npm run check is green: abaplint 0, abap2ui5lint "No findings detected" (32 files), plus overview, keywords, abapdoc, SAMPLES.md, catalogue, app-rules, atc, prose and derived. Badges and derived files are unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_014bLQZPXbB8xmewCNmnBJaG


Generated by Claude Code

0.8.1 counts only the WHENs of a CASE over the event for
handler-without-event and accepts filter_bar_variant_init for
smart-variant-without-init, so under it these blocks are unused-directive
hints:

- Z2UI5_CL_SMPS_APP_319: handler-without-event around the CASE over the
  condition operator, with the comment that explained it
- Z2UI5_CL_SMPS_APP_489: handler-without-event around the CASE over the
  escape character, with the comment that explained it
- Z2UI5_CL_SMPS_APP_493: smart-variant-without-init around the
  SmartVariantManagement; the comment keeps which handshake it uses

Z2UI5_CL_SMPS_APP_000 keeps cs_backend_event: the name is clearer than
cs_event next to the client's own constant regardless of the linter, so
only its ABAP Doc stops giving the linter as a reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014bLQZPXbB8xmewCNmnBJaG
@oblomov-dev
oblomov-dev merged commit 740274e into main Sep 27, 2026
23 checks passed
@oblomov-dev
oblomov-dev deleted the claude/peaceful-pascal-4z2w4v branch September 27, 2026 15:30
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