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>
This commit is contained in:
Lars Hvam 2022-05-16 08:35:27 +02:00 committed by GitHub
parent 387d8b103c
commit a1053e84e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 65 additions and 0 deletions

11
abaplint-app.json Normal file
View File

@ -0,0 +1,11 @@
{
"configurations": {
"default": {
"filename": "./abaplint.json"
},
"steampunk": {
"filename": "./abaplint-steampunk.json"
}
}
}

54
abaplint-steampunk.json Normal file
View File

@ -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"
}
}
}