Skip to content

Architecture decision records ​

This folder records the architecture decisions behind UI5 BlueprintAudit: what was decided, why, and what follows from it. Each record is short and stands on its own.

The first set was captured from CLAUDE.md, the rule catalog, the documentation, and the Git history. Decisions made later get the next number.

Format ​

Each record has a status, the context, the decision, and the consequences. A record is never rewritten when a decision changes. Instead, a new record supersedes it and the old one gets the status Superseded by ADR-NNNN.

Statuses: Proposed, Accepted, Superseded, Deprecated.

Index ​

Product and architecture ​

ADRDecision
0001Standalone CLI, not an ESLint or @ui5/linter plugin
0002TypeScript on Node.js, ESM, minimum Node.js 24
0003npm-workspaces monorepo with three packages
0004The core rules are a regular plugin
0005Translation logic lives in the types package
0006The project context is loaded once, rules never touch the file system
0007The user states the project type, no auto-detection
0008Library projects have no webapp/, detection runs through ui5.yaml
0009The rule catalog is the source of truth
0010typescript is a runtime dependency of the core plugin

Configuration and plugins ​

ADRDecision
0011YAML configuration that only overrides defaults, validated strictly
0012Plugins load from local files or npm, resolved from the project with ESM conditions
0013Plugin rule IDs are prefixed, core rule IDs are not
0014Errors in one rule or one project never abort the whole run

Output and localization ​

ADRDecision
0015Flat translation bundles with an English fallback, extensible by plugins
0016Report formats, the always-English JUnit file, and exit codes

Quality, delivery, and process ​

ADRDecision
0017Fixture tests per rule, sample projects as regression source, local mutation testing
0018main is protected, all changes land through pull requests
0019Releases are triggered by a version bump and published with npm Trusted Publishing
0020CycloneDX SBOMs per package, generated with cyclonedx-npm
0021VitePress documentation site, with the catalog included, not copied
0022Everything an AI assistant writes in this repository is English

Released under the MIT License.