mcpField
S
sap-fiori-eslint-plugin

sap-fiori-eslint-plugin

github.com/sapTesting & quality160593 installsUpdated today
Repository

About sap-fiori-eslint-plugin

A task-oriented skill for developers working with `@sap-ux/eslint-plugin-fiori-tools` in SAP Fiori projects. It guides ESLint setup, migration from legacy configurations, linting, and app-level issue checks.

Key features

  1. 01Set up ESLint configuration
  2. 02Migrate legacy ESLint settings
  3. 03Run lint checks and fix issues
  4. 04Inspect app-scope UX issues
  5. 05Choose tasks from project state

Use cases

  1. 01Add ESLint to a Fiori project
  2. 02Migrate from `.eslintrc` configuration
  3. 03Check code and address lint errors
  4. 04Review UX consistency issues for an app

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/sap/open-ux-tools --skill sap-fiori-eslint-plugin

After installing, type/sap-fiori-eslint-pluginin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
lint.md
migrate.md
setup.md

Details

From the project README

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
"Migrate ESLint", .eslintrc / eslint@8 present, upgrade ESLintMigratereferences/migrate.md
"Run ESLint", "Check my code", "Fix lint errors", eslint.config.mjs existsLintreferences/lint.md
"Show all application issues", "show UX consistency issues", "issues for app X", "same issues as Page Map/App Info"App issues onlyreferences/lint.md — follow the App-scope mode section

If the intent is unclear, check the project state:

# 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

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.

Comments

Markdown supported