Skip to content

Enable 143 more abaplint rules - #14

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/beautiful-turing-wxr303-abaplint
Oct 11, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/beautiful-turing-wxr303-abaplint

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

What changes

abaplint.jsonc gains a block of 143 rules. They are every rule from abap2UI5's own abaplint.jsonc that has no finding on the examples' ABAP (fiori-elements-v2/abap/), and they keep abap2UI5's settings. The 14 existing rules are unchanged.

Among the added rules: check_subrc, uncaught_exception, sql_escape_host_variables, select_add_order_by, strict_sql, modify_only_own_db_tables, unused_variables, unused_methods, cyclic_oo, dangerous_statement, empty_structure, check_ddic, implement_methods, cds_field_order and cds_association_name. The full list is in the diff.

Why

The app class is "built like any abap2UI5 app" (AGENTS.md), yet abaplint only checked its syntax and file hygiene. With these rules it is also held to the correctness, SQL and style rules the framework holds itself to.

Left out:

  • downport and parser_702_chaining: they have no findings, but the examples need 7.55 (view entities, RAP with OData V2) and are never downported.
  • allowed_object_types (4 findings): it would need the DDLX, SRVD and SRVB types that abap2UI5's list does not have, and restricting object types is a design decision.
  • object_naming and cds_naming: abap2UI5's naming patterns.

No code changes.

Checked

npm run abaplint reports 0 issues, and npm run lint and npm run format:check pass. Only the config changes, so the build and the Playwright run are not affected.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Te3BRpRpxNhZAYnrQL6Gdt


Generated by Claude Code

Adopt every rule of abap2UI5's own abaplint.jsonc that reports nothing
on the examples' ABAP, with abap2UI5's settings, as a block of its own.
Among them: check_subrc, uncaught_exception, sql_escape_host_variables,
select_add_order_by, strict_sql, unused_variables, cyclic_oo,
dangerous_statement, empty_structure, check_ddic.

downport and parser_702_chaining stay out: the examples need 7.55 and
are never downported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Te3BRpRpxNhZAYnrQL6Gdt

Copy link
Copy Markdown
Member Author

The red e2e jobs are not caused by this PR. e2e (abap2UI5 1.145.0) fails with the same 14 test/e2e/freestyle.spec.mjs tests as the scheduled run on main (run 38133899825, 2026-10-11 10:59). Those are the endpoint, restart and visibility cases, on both ui5-1.136 and ui5-1.71, and 41 tests pass. e2e (abap2UI5 main) is red on main as well. This PR changes only abaplint.jsonc, which the e2e jobs do not read. check (which runs npm run abaplint) and bsp are green.


Generated by Claude Code

@oblomov-dev
oblomov-dev merged commit 0987057 into main Oct 11, 2026
2 of 4 checks passed
@oblomov-dev
oblomov-dev deleted the claude/beautiful-turing-wxr303-abaplint branch October 11, 2026 16:38
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