@sap/eslint-config
v0.4.1
Published
ESLint configuration for SAP ecosystem
Readme
ESLint Configuration for SAP Ecosystem
About this project
Set of linting rules for JavaScript/TypeScript based projects in SAP ecosystem.
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.
Usage
Prerequisites
Installation
Run in the project root directory:
npm install --save-dev eslint @sap/eslint-configCreate
eslint.config.jsin the project root:const { configs } = require("@sap/eslint-config"); module.exports = configs.recommended;
Project setup examples
Support, Feedback, Contributing
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.
Security / Disclosure
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.
Code of Conduct
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.
Licensing
Copyright 2025 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.
