@sap/eslint-plugin-cds
SAP's ESLint plugin for CDS, carrying the model and environment rules capire calls best practice and universal for every CAP project.
Facts
Where it sits
What it declares
Every artifact
- Type
- Build tool
- Origin
- By SAP
As a build tool
- Declared for
- >=9
- Distributed through
- does not say
Connections
Catching problems in code, models and configuration by rules
Download
Install
npm add @sap/eslint-plugin-cdsDerived from the package name. No recipe recorded; the README has the configuration.
README
quoted from @sap/eslint-plugin-cds@4.2.5 under See LICENSE file, read@sap/eslint-plugin-cds
The ESLint plugin includes a set of recommended SAP Cloud Application Programming Model (CAP) model and environment rules. The aim of CDS linting is to catch issues with CDS models and with the environment early. To use this module we recommend to install @sap/cds-dk globally.
See the CDS Linting documentation for more details, or jump directly to a complete list of rules. CAP provides a set of recommended rules. On top, you can create your own, application-specific rules.
History
Fixes 1
Fixes 1
Fixes 1
Fixes 1
Fixes 1
Fixes 1
Fixes 3
Features 1
Features 1, Changed 3, Fixes 1
Removed 1, Features 5, Changed 1
Changed 1, Fixes 3
Fixes 1
Changed 1, Fixes 5
Removed 1, Features 4, Fixes 6
Fixes 1
Changed 1
Fixes 1
Changed 1, Fixes 1
Fixes 1
Features 1, Changed 1, Fixes 1
Features 1, Changed 2, Fixes 1
Fixes 1
Changed 1
Fixes 1
Features 1, Fixes 2
Changed 1
Changed 1
Changed 4
Features 1, Changed 2, Fixes 1
Features 2, Changed 2
Features 1, Changed 2
Features 1, Changed 1
Changed 2
Changed 2
Features 3
Changed 2
Changed 4
Features 1, Changed 2
Features 1, Changed 2
Changed 1
Features 1, Changed 1
Changed 1
Changed 1
Changed 4
Features 1, Changed 1
Features 1, Changed 1
Changed 1
Changed 1
Features 1, Changed 1
Features 2, Changed 1
Changed 1
Changed 4
Changed 3
Changed 3
Changed 3
Changed 2
Changed 5
Features 1, Changed 1
Features 4
Changed 1
Features 3
Changed 5
Changed 2
Changed 2
Features 1, Changed 1
Features 1
Others providing
Compare all 6 on the Linting page →- @cbs-consulting/cds-eslint@cbs-consulting/cds-eslintAn ESLint plugin for CDS files carrying one consultancy's own rules, published so that the consultancy's projects lint their CDS models the same way.independent, capESLint plugin with one consultancy's rules for CDS files
- @cbs-consulting/tools@cbs-consulting/toolsShared ESLint configuration for SAPUI5 and CAP projects, the config rather than the rules, so a team adopts a house style by adding one dependency.independent, capShared ESLint configuration for SAPUI5 and CAP projects
- eslint-plugin-better-cap-configeslint-plugin-better-cap-configA set of ESLint rules that read CAP configuration and flag the cds settings that have since been deprecated, putting that check in the linter a project already runs, with no dependencies of its own.independent, capESLint rules flagging deprecated CAP configuration
- hana-linterhana-linterA command line that checks the names of the native SAP HANA artifact files in a CAP project, and the identifiers inside them, against regex rules the project keeps in a config file.independent, capRegex naming rules for SAP HANA artifacts in a CAP project
- @sap-ux/eslint-plugin-fiori-tools@sap-ux/eslint-plugin-fiori-toolsESLint rules from the Fiori tools team, aimed at the parts of a project their generators produce.sap official, capESLint rules for projects the Fiori tools generators produce
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- npm: https://www.npmjs.com/package/@sap/eslint-plugin-cds
- Typed cds-plugin by placement, which defaults every candidate to that. It is not one.
- SAP's ESLint plugin for CDS, carrying the model and environment rules capire calls best practice and universal for every CAP project.
- First seen.
For your agent
- Ref
artifact:sap-eslint-plugin-cds- JSON
- /artifacts/sap-eslint-plugin-cds.json
- MCP
- Connecting an agent