Lint CAP (cds lint)
cap_lintRuns cds lint on a CAP project to catch anti-patterns and best-practice warnings that cds compile overlooks, providing a second validation layer for code quality.
Instructions
Second validation layer: runs cds lint (@sap/cds eslint plugin) on the project and returns anti-patterns and best-practice warnings that cds compile does not catch. Requires @sap/cds installed in the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | CAP project root path |