Skip to content

Commit 70f405b

Browse files
authoredMay 21, 2022
update to latest abapGit format (#166)
* update to latest abapGit format * update abaplint configuration
1 parent 911b3a5 commit 70f405b

File tree

4 files changed

+35
-12
lines changed

4 files changed

+35
-12
lines changed
 

‎abaplint.json

+35-6
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,38 @@
2525
],
2626
"syntax": {
2727
"version": "v740sp08",
28-
"errorNamespace": "^(Z|Y)",
29-
"globalConstants": [],
30-
"globalMacros": []
28+
"errorNamespace": "^(Z|Y)"
3129
},
3230
"rules": {
31+
"align_parameters": false,
32+
"cds_parser_error": true,
33+
"classic_exceptions_overlap": true,
34+
"constant_classes": true,
35+
"cyclic_oo": false,
36+
"dangerous_statement": true,
37+
"db_operation_in_loop": false,
38+
"identical_descriptions": false,
39+
"local_testclass_consistency": true,
40+
"many_parentheses": true,
41+
"max_one_method_parameter_per_line": true,
42+
"modify_only_own_db_tables": true,
43+
"no_aliases": false,
44+
"no_chained_assignment": true,
45+
"no_external_form_calls": true,
46+
"no_inline_in_optional_branches": false,
47+
"no_yoda_conditions": false,
48+
"nrob_consistency": true,
49+
"omit_preceding_zeros": true,
50+
"pragma_style": false,
51+
"prefer_corresponding": false,
52+
"prefer_raise_exception_new": true,
53+
"select_add_order_by": false,
54+
"select_performance": false,
55+
"slow_parameter_passing": false,
56+
"static_call_via_instance": true,
57+
"unnecessary_chaining": false,
58+
"unnecessary_pragma": true,
59+
"unsecure_fae": false,
3360
"call_transaction_authority_check": true,
3461
"function_module_recommendations": false,
3562
"intf_referencing_clas": true,
@@ -75,7 +102,6 @@
75102
"check_comments": false,
76103
"check_ddic": true,
77104
"check_include": true,
78-
"check_no_handler_pragma": true,
79105
"check_syntax": true,
80106
"check_text_elements": true,
81107
"check_transformation_exists": true,
@@ -84,7 +110,6 @@
84110
"implement_methods": true,
85111
"keep_single_parameter_on_one_line": true,
86112
"keyword_case": true,
87-
"local_testclass_location": true,
88113
"main_file_contents": true,
89114
"newline_between_methods": true,
90115
"prefer_returning_to_exporting": true,
@@ -101,6 +126,7 @@
101126
"7bit_ascii": true,
102127
"avoid_use": {
103128
"define": false,
129+
"testSeams": true,
104130
"statics": true,
105131
"describeLines": true,
106132
"break": true,
@@ -134,6 +160,7 @@
134160
"empty_structure": {
135161
"loop": true,
136162
"if": true,
163+
"when": true,
137164
"while": true,
138165
"case": true,
139166
"try": true,
@@ -199,7 +226,8 @@
199226
"depth": 5
200227
},
201228
"no_public_attributes": {
202-
"allowReadOnly": false
229+
"allowReadOnly": false,
230+
"ignoreTestClasses": false
203231
},
204232
"object_naming": {
205233
"clas": "^ZC(L|X)\\_",
@@ -224,6 +252,7 @@
224252
"obsolete_statement": {
225253
"refresh": true,
226254
"compute": true,
255+
"occurences": true,
227256
"fieldSymbolStructure": true,
228257
"add": true,
229258
"parameter": true,

‎src/ddic/zags_branches.tabl.xml

-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
<PRIMPOS>0001</PRIMPOS>
6969
<DOMNAME>MANDT</DOMNAME>
7070
<DATATYPE>CLNT</DATATYPE>
71-
<LENG>000003</LENG>
7271
</DD05M>
7372
</DD05M_TABLE>
7473
<DD08V_TABLE>
@@ -84,7 +83,6 @@
8483
<AS4LOCAL>A</AS4LOCAL>
8584
<DDLANGUAGE>E</DDLANGUAGE>
8685
<UNIQUEFLAG>X</UNIQUEFLAG>
87-
<DBINDEX>ZAGS_BRANCHES~Z10</DBINDEX>
8886
<DDTEXT>CLIENT, REPO, NAME</DDTEXT>
8987
</DD12V>
9088
</DD12V>

‎src/ddic/zags_objects.tabl.xml

-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
<PRIMPOS>0001</PRIMPOS>
7777
<DOMNAME>MANDT</DOMNAME>
7878
<DATATYPE>CLNT</DATATYPE>
79-
<LENG>000003</LENG>
8079
</DD05M>
8180
</DD05M_TABLE>
8281
<DD08V_TABLE>
@@ -91,7 +90,6 @@
9190
<INDEXNAME>Z10</INDEXNAME>
9291
<AS4LOCAL>A</AS4LOCAL>
9392
<DDLANGUAGE>E</DDLANGUAGE>
94-
<DBINDEX>ZAGS_OBJECTS~Z10</DBINDEX>
9593
<DDTEXT>CLIENT + REPO + TYPE</DDTEXT>
9694
</DD12V>
9795
</DD12V>

‎src/ddic/zags_repos.tabl.xml

-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
<PRIMPOS>0001</PRIMPOS>
6767
<DOMNAME>MANDT</DOMNAME>
6868
<DATATYPE>CLNT</DATATYPE>
69-
<LENG>000003</LENG>
7069
</DD05M>
7170
</DD05M_TABLE>
7271
<DD08V_TABLE>
@@ -82,7 +81,6 @@
8281
<AS4LOCAL>A</AS4LOCAL>
8382
<DDLANGUAGE>E</DDLANGUAGE>
8483
<UNIQUEFLAG>X</UNIQUEFLAG>
85-
<DBINDEX>ZAGS_REPOS~Z10</DBINDEX>
8684
<DDTEXT>CLIENT, NAME</DDTEXT>
8785
</DD12V>
8886
</DD12V>

0 commit comments

Comments
 (0)
Please sign in to comment.