Set of linting rules for JavaScript/TypeScript based projects in SAP ecosystem. Don't be special, just use this standard configuration.
The package provides the following rule sets:
default: All relevant rules for linting JavaScript files.typescript: All relevant rules for linting TypeScript files. Contains or overridesbaserules where appropriate.- (Temporarily unsupported)
react: All relevant rules for linting TypeScript files in React projects. Contains or overridestypescriptrules where appropriate.
-
Run in the project root directory:
npm install --save-dev eslint @sap/eslint-config
-
Create
eslint.config.jsin the project root:const { configs } = require("@sap/eslint-config"); module.exports = configs.recommended;
This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.
If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.
Copyright 2026 SAP SE or an SAP affiliate company and eslint-configuration-for-sap-ecosystem contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.