abaplintdeprecated

Linter for ABAP

Usage no npm install needed!

<script type="module">
  import abaplint from 'https://cdn.skypack.dev/abaplint';
</script>

README

npm version Build Status FOSSA Status codecov

abaplint

Linter for ABAP, code must be serialized using abapGit.

Regarding versioning: semantic versioning is currently not followed, recommend fixing usage to a specific version

Online Playground

Syntax Diagrams

Get default configuration by running abaplint -d > abaplint.json

Works with

SAP Code inspector via abaplint-cloud-foundry and abaplint-abap-backend.

Also see abapOpenChecks.

Example configs

abaplint-clean-code contains rule documentation as well as abaplint.json definitions which attempt to align abaplint with the official Clean ABAP styleguide.

Requirements

Node.js 10

Building

npm install
npm test

Parsing vs standard ABAP

  • Spaces required after string literals and before right parenthesis
  • CALL FUNCTION EXCEPTIONS must be well formed
  • Only single chaining
  • Macros are only scoped to current file