Docs(eslint-plugin-fiori-tools): add cds code snippets to rule documentation#4623
Conversation
🦋 Changeset detectedLatest commit: 3dd5325 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
SummaryThe following content is AI-generated and provides a summary of the pull request: Docs(eslint-plugin-fiori-tools): Add CDS Code Snippets to Rule DocumentationDocumentation📝 Added CDS annotation code examples to the Changes
PR Bot InformationVersion:
|
There was a problem hiding this comment.
The PR is a documentation-only change that adds helpful CDS annotation examples alongside existing XML ones. The changes are generally correct and improve the documentation, but there are a few issues worth addressing: an extraneous UI.HeaderFacets block in the "incorrect FieldGroup" example that muddies what the rule violation actually is, a trailing space on a code-fence tag, a property name mismatch between aligned XML and CDS examples, and a pre-existing typo (manifes.json) that this PR did not fix.
|
…t_take2 * origin/main: Project modules update 12.05.2026 (5242) (#4661) update skill name (#4658) chore: apply latest changesets feat: Display unhandled exceptions from the Controller extension inside the Info Center. (#4627) chore: apply latest changesets feat: update splitter for new ui (#4648) chore: apply latest changesets tbi(generator-odata-downloader): Make self contained (#4656) chore: apply latest changesets fix: change confirm replace additional message based on environment (#4628) chore: apply latest changesets fix(sap-systems-ext): add new create new command (#4645) chore: apply latest changesets (fiori-mcp-server) add additional guidance on the adding of extension in fiori (#4643) test: update skill (#4651) chore: apply latest changesets fix: Add fragment list to model for custom fragments (#4601) chore: apply latest changesets Docs(eslint-plugin-fiori-tools): add cds code snippets to rule documentation (#4623)



Add CDS Code Snippets to ESLint Rule Documentation
Documentation
Added CDS annotations examples for 2 rules, Hidden-text-arrangement rule docs will be updated when the rule is updated to support CAP.
Changes
.changeset/tall-hounds-unite.md: Added a patch changeset entry describing the addition of CDS annotation code examples to rules documentation.docs/rules/sap-no-data-field-intent-based-navigation.md: Added CDS annotation equivalents for all existing XML code examples, covering:UI.DataFieldForIntentBasedNavigationandUI.DataFieldWithIntentBasedNavigationinUI.LineItemUI.FieldGroupCommon.SemanticObjectannotated on entity propertiesUI.LineItemandUI.FieldGrouppatterns usingUI.DataFielddocs/rules/sap-width-including-column-header.md:UI.LineItemconfiguration alongside the existing XML example.<!-- Include at least 6 data fields -->) to the XML example.PR Bot Information
Version:
1.20.37d08614d8-6148-49f7-8ed0-5711867d6406anthropic--claude-4.6-sonnetpull_request.opened