Sap Fiori Eslint Plugin

by SAP69e2c50833f1No licenseListed Oct 8, 2026Updated Oct 8, 2026

Configure, migrate, or run ESLint with @sap-ux/eslint-plugin-fiori-tools in SAP Fiori projects (standalone or CAP). Use when ESLint is missing and the user wants to add it or add code quality checks; when an existing .eslintrc or eslint@8 config needs upgrading to ESLint 9 flat config; when the user wants to run linting, fix lint errors, or ESLint is broken or not working; or when the user wants to see the application issues or UX consistency issues for a specific app — e.g. "show application issue(s) for my project <project_name>", "show application issues for app X", "UX consistency issues", "issues consistent with Page Map", "same issues as Application Information".

Instructions onlySoftware Development
AI-generated overview

Sets up, migrates, or runs ESLint with the SAP Fiori tools plugin in SAP Fiori projects and reports app issues.

What it does
Guides an agent through working with @sap-ux/eslint-plugin-fiori-tools in SAP Fiori projects, covering three tasks: setting up ESLint from scratch, migrating a legacy .eslintrc or ESLint 8 configuration to ESLint 9 flat config, and running linting or fixing lint errors. It also covers an app-scope mode that reports application issues and UX consistency issues for a specific app. The skill is instruction-only and routes to reference documents for setup, migration, and linting.
When to use it
Use it when ESLint is missing from an SAP Fiori project and the user wants to add it or add code quality checks, when an existing .eslintrc or ESLint 8 config needs upgrading to ESLint 9 flat config, or when the user wants to run linting, fix lint errors, or see application or UX consistency issues for a specific app.
Requirements
Requires Node.js with npm, pnpm, or yarn. Designed for SAP Fiori freestyle and Fiori elements projects, standalone or inside a CAP project. Ships no scripts; it is instructions plus reference documents.

SAP Fiori ESLint Plugin

Work with @sap-ux/eslint-plugin-fiori-tools on SAP Fiori projects: set up ESLint from scratch, migrate from a legacy configuration, or run and fix lint issues.

Determine which task to perform

Identify the user's intent from their request:

User says / situationTaskReference
"Set up ESLint", "Add ESLint", no eslint.config.mjs existsSet upreferences/setup.md [blocked]
"Migrate ESLint", .eslintrc / eslint@8 present, upgrade ESLintMigratereferences/migrate.md [blocked]
"Run ESLint", "Check my code", "Fix lint errors", eslint.config.mjs existsLintreferences/lint.md [blocked]
"Show all application issues", "show UX consistency issues", "issues for app X", "same issues as Page Map/App Info"App issues onlyreferences/lint.md [blocked] — follow the App-scope mode section

If the intent is unclear, check the project state:

bash
# Check for existing ESLint config (any format)ls eslint.config.mjs eslint.config.js .eslintrc .eslintrc.js .eslintrc.cjs .eslintrc.json .eslintrc.yml .eslintrc.yaml 2>/dev/null
  • No config found → follow references/setup.md [blocked]
  • Legacy config found (.eslintrc*) → follow references/migrate.md [blocked]
  • Flat config found (eslint.config.mjs) → follow references/lint.md [blocked]

If the intent is still unclear, ask the user to clarify whether they want to set up ESLint, migrate an existing config, or run linting.

Source and attribution

Source:SAP/open-ux-toolsinpackages/fiori-mcp-server/skills/sap-fiori-eslint-pluginat commit69e2c50

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

Sap Fiori Eslint Plugin Agent Skill | SourceWeft