From a1053e84e104dd9ab93fb0d30ddb429414567944 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Mon, 16 May 2022 08:35:27 +0200 Subject: [PATCH] add steampunk linting setup (#925) * add steampunk linting setup * Update abaplint-app.json * update to 2202 api Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com> --- abaplint-app.json | 11 +++++++++ abaplint-steampunk.json | 54 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 abaplint-app.json create mode 100644 abaplint-steampunk.json diff --git a/abaplint-app.json b/abaplint-app.json new file mode 100644 index 0000000..4520ac7 --- /dev/null +++ b/abaplint-app.json @@ -0,0 +1,11 @@ +{ + "configurations": { + "default": { + "filename": "./abaplint.json" + }, + + "steampunk": { + "filename": "./abaplint-steampunk.json" + } + } +} diff --git a/abaplint-steampunk.json b/abaplint-steampunk.json new file mode 100644 index 0000000..b64bd6a --- /dev/null +++ b/abaplint-steampunk.json @@ -0,0 +1,54 @@ +{ + "global": { + "files": "/src/**/*.*", + "noIssues": ["/demos/", "/not_cloud/"] + }, + "dependencies": [ + { + "url": "https://github.com/abapedia/steampunk-2202-api", + "files": "/src/**/*.*" + } + ], + "syntax": { + "version": "Cloud", + "errorNamespace": "." + }, + "rules": { + "begin_end_names": { + "severity": "Warning" + }, + "check_ddic": { + "severity": "Warning" + }, + "check_include": { + "severity": "Warning" + }, + "check_syntax": { + "severity": "Warning" + }, + "global_class": { + "severity": "Warning" + }, + "implement_methods": { + "severity": "Warning" + }, + "method_implemented_twice": { + "severity": "Warning" + }, + "parser_error": { + "severity": "Warning" + }, + "parser_missing_space": { + "severity": "Warning" + }, + "superclass_final": { + "severity": "Warning" + }, + "unknown_types": { + "severity": "Warning" + }, + "xml_consistency": { + "severity": "Warning" + } + } +} \ No newline at end of file