ESLint plugin providing custom linting rules and configurations for SAP Fiori, OpenUI5, and SAPUI5 projects. Version 2.6.7 is current stable, released semi-annually. It extends ESLint with Fiori-specific rules for productive and test code, offering pre-built .eslintrc configurations. Differentiates from generic ESLint by targeting Fiori development patterns and enforcing SAP best practices.
npm install eslint-plugin-fiori-customVerified import paths — ran on the pinned version, not inferred.
Minimal .eslintrc configuration to enable the plugin and extend its default Fiori ruleset.
npm uninstall babel-eslint && npm install --save-dev @babel/eslint-parser, then update parser option in .eslintrc to '@babel/eslint-parser'
Upgrade ESLint to version 7.5 or higher: npm install eslint@8.32.0 --save-dev
Use the provided .eslintrc files (configure.eslintrc, testcode.eslintrc) or extend from 'plugin:fiori-custom/fioriToolsDefault'
Include --no-eslintrc in CLI commands when using -c with provided configs
Ensure eslint-plugin-fiori-custom is installed and ESLint version is >=7.5.
Install @babel/eslint-parser: npm install --save-dev @babel/eslint-parser