@sap-cloud-sdk/eslint-config

3.22.2 • Public • Published

SAP Cloud SDK for JavaScript Logo

@sap-cloud-sdk/eslint-config

This package contains a shareable eslint configuration based on the configuration used by the SAP Cloud SDK. It extends the eslint:recommended and @typescript-eslint/recommended rulesets. It also uses the eslint-config-prettier to avoid any formatting conflicts when using the highly recommended prettier.

How to use

To add the configuration please adjust your ESlint configuration (usually called .eslintrc or .eslintrc.js):

{
  "extends": "@sap-cloud-sdk"
}

or if you want to combine this configuration with others:

{
  "extends": ["airbnb", "@sap-cloud-sdk"]
}

This configuration depends on plugins "eslint-plugin-import" and "eslint-plugin-unused-imports", which need to be installed in your project.

ESlint merges these shareable configs with your configuration. Any rule configured in your .eslintrc.js will overwrite the setting for this rule in shareable configs.

Support

The recommended way to get in touch with us is to create an issue on GitHub. Select the issue category Bug, Feature, or Question depending on the nature of your request. We try to provide fixes, features and answers as soon as possible.

Contribute

If you would like to contribute to the SAP Cloud SDK, please make yourself familiar with our contributing guidelines and follow the given instructions.

Links

License

The SAP Cloud SDK is released under the Apache License Version 2.0.

Package Sidebar

Install

npm i @sap-cloud-sdk/eslint-config

Weekly Downloads

820

Version

3.22.2

License

Apache-2.0

Unpacked Size

19.9 kB

Total Files

4

Last publish

Collaborators

  • tomfrenken
  • deekshas8
  • frankessenberger
  • jjtang
  • marikaner