Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 892 Bytes

STYLEGUIDE.md

File metadata and controls

36 lines (23 loc) · 892 Bytes

Style Guide

The SAP Cloud SDK for AI follows the style guide from the SAP Cloud SDK for JavaScript:

Table of Contents

Code Style Guide Rule Overrides

The rules below differ from the SAP Cloud SDK for JavaScript.

Tests

Use .test in test file names

Use .test not .spec to differentiate test files.

❌ Examples of incorrect code:

/* Don't use .spec.ts */
test - file.spec.ts;

✅ Examples of correct code:

/* Use .test.ts */
test - file.test.ts;