Skip to content

Set of linting rules for JavaScript/TypeScript based project in SAP ecosystem.

License

Notifications You must be signed in to change notification settings

SAP/eslint-config

REUSE status

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 overrides base rules where appropriate.
  • (Temporarily unsupported) react: All relevant rules for linting TypeScript files in React projects. Contains or overrides typescript rules where appropriate.

Usage

Prerequisites

Installation

  1. Run in the project root directory:

    npm install --save-dev eslint @sap/eslint-config
  2. Create eslint.config.js in 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.

About

Set of linting rules for JavaScript/TypeScript based project in SAP ecosystem.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published