Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions abaplint-app.jsonc
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"configurations": {
"default": {
"filename": "./abaplint.jsonc"
},
"abap_cloud_readiness": {
"filename": "./abaplint-syntax_cloud.jsonc"
"configurations": {
"default": {
"filename": "./ci/abaplint.jsonc"
},
"abap_standard_readiness": {
"filename": "./ci/abaplint-abap_standard_readiness.jsonc"
},
"abap_cloud_readiness": {
"filename": "./ci/abaplint-abap_cloud_readiness.jsonc"
}
}
}
}
}
38 changes: 0 additions & 38 deletions abaplint-syntax_cloud.jsonc

This file was deleted.

38 changes: 38 additions & 0 deletions ci/abaplint-abap_cloud_readiness.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"global": {
"files": "/src/**/*.*"
},
"dependencies": [
{
"url": "https://github.com/abapedia/steampunk-2305-api-intersect-702",
"folder": "/deps",
"files": "/src/**/*.*"
},
{
"url": "https://github.com/abap2UI5/abap2UI5",
"folder": "/abap2UI5",
"files": "/src/**/*.*"
}
],
"syntax": {
"version": "Cloud",
"errorNamespace": "."
},
"rules": {
"begin_end_names": true,
"cds_parser_error": true,
"check_ddic": true,
"strict_sql": true,
"sql_escape_host_variables": true,
"check_include": true,
"check_syntax": true,
"cloud_types": true,
"global_class": true,
"implement_methods": true,
"method_implemented_twice": true,
"parser_error": true,
"superclass_final": true,
"unknown_types": true,
"xml_consistency": true
}
}
38 changes: 38 additions & 0 deletions ci/abaplint-abap_standard_readiness.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"global": {
"files": "/src/**/*.*"
},
"dependencies": [
{
"url": "https://github.com/abapedia/steampunk-2305-api-intersect-702",
"folder": "/deps",
"files": "/src/**/*.*"
},
{
"url": "https://github.com/abap2UI5/abap2UI5",
"folder": "/abap2UI5",
"files": "/src/**/*.*"
}
],
"syntax": {
"version": "750",
"errorNamespace": "."
},
"rules": {
"begin_end_names": true,
"cds_parser_error": true,
"check_ddic": true,
"strict_sql": true,
"sql_escape_host_variables": true,
"check_include": true,
"check_syntax": true,
"cloud_types": true,
"global_class": true,
"implement_methods": true,
"method_implemented_twice": true,
"parser_error": true,
"superclass_final": true,
"unknown_types": true,
"xml_consistency": true
}
}
2 changes: 1 addition & 1 deletion abaplint-downport.jsonc → ci/abaplint-downport.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"global": {
"files": "/downport/**/*.*"
"files": "/../downport/**/*.*"
},
"dependencies": [
{
Expand Down
2 changes: 1 addition & 1 deletion abaplint.jsonc → ci/abaplint.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"syntax": {
"version": "v750",
"version": "v757",
"errorNamespace": "."
},
"rules": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Explore Code Samples of abap2UI5",
"scripts": {
"syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ",
"downport": "rm -rf downport && cp -r src downport && abaplint --fix abaplint-downport.jsonc && npm run syfixes",
"downport": "rm -rf downport && cp -r src downport && abaplint --fix ./ci/abaplint-downport.jsonc && npm run syfixes",
"unit": "echo RUNNING && node output/index.mjs",
"transpile": "rm -rf output && abap_transpile test/abap_transpile.json",
"test": "npm run downport && npm run transpile && npm run unit"
Expand Down