npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

abaplint

1.7.23 • Public • Published

npm version Build Status Dependency Status Greenkeeper badge FOSSA Status

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

The code is in active development and some rules may not be described in documentation yet. In order to see the default configuration with all the rules run abaplint -d. You may also save it as the current config in the root dir of your project abaplint -d > abaplint.json

Works with

For checking ABAP code inside the ABAP system use code inspector or ATC, also see project abapOpenChecks.

Requirements

Node.js 10

Building

npm install
npm test

Parsing vs standard ABAP

  • Spaces required after string literals and before right parenthesis, following gives parser error lo_obj->method( 'FOO').

  • CALL FUNCTION EXCEPTIONS must be well formed, eg not

  CALL FUNCTION 'RFC_PING'
    EXCEPTIONS
      OTHERS.
 
  CALL FUNCTION 'RFC_PING'
    EXCEPTIONS = 2.
  • Only single chaining, following gives parser error: WRITE: bar: foo.

Keywords

install

npm i abaplint

Downloadsweekly downloads

352

version

1.7.23

license

MIT

homepage

abaplint.org

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability