-
Notifications
You must be signed in to change notification settings - Fork 19
/
abaplint.jsonc
240 lines (240 loc) · 6.83 KB
/
abaplint.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
{
"global": {
"files": "/src/**/*.*",
"skipGeneratedGatewayClasses": true,
"skipGeneratedFunctionGroups": true,
"skipGeneratedPersistentClasses": true
},
"dependencies": [
{
"url": "https://github.com/abap2xlsx/abap2xlsx",
"folder": "/abap2xlsx",
"files": "/src/**/*.*"
},
{
"url": "https://github.com/abaplint/deps",
"folder": "/deps",
"files": "/src/**/*.*"
}
],
"syntax": {
"version": "v702",
"errorNamespace": "^(Z|Y)",
"globalConstants": [
"cntb_btype_button"
]
},
"rules": {
"constant_classes": true,
"align_parameters": false,
"add_test_attributes": true,
"align_pseudo_comments": false,
"align_type_expressions": false,
"cds_comment_style": true,
"cds_legacy_view": true,
"cds_parser_error": true,
"dynpro_checks": true,
"invalid_table_index": true,
"smim_consistency": true,
"slow_parameter_passing": true,
"local_testclass_consistency": true,
"classic_exceptions_overlap": true,
"cyclic_oo": false,
"many_parentheses": true,
"unused_ddic": true,
"dangerous_statement": true,
"db_operation_in_loop": false,
"identical_descriptions": false,
"intf_referencing_clas": false,
"max_one_method_parameter_per_line": false,
"method_implemented_twice": true,
"modify_only_own_db_tables": false,
"no_yoda_conditions": false,
"parser_702_chaining": true,
"prefer_raise_exception_new": true,
"select_add_order_by": false,
"select_performance": false,
"uncaught_exception": false,
"unsecure_fae": false,
"use_class_based_exceptions": false,
"call_transaction_authority_check": true,
"function_module_recommendations": false,
"identical_contents": false,
"method_overwrites_builtin": true,
"omit_parameter_name": false,
"omit_receiving": true,
"prefer_is_not": false,
"prefer_xsdbool": true,
"sy_modification": true,
"unused_methods": false,
"use_bool_expression": false,
"begin_single_include": true,
"check_subrc": false,
"cyclomatic_complexity": false,
"forbidden_pseudo_and_pragma": false,
"identical_conditions": false,
"line_break_style": false,
"names_no_dash": true,
"parser_missing_space": true,
"unused_types": true,
"use_line_exists": false,
"downport": false,
"forbidden_void_type": false,
"line_break_multiple_parameters": false,
"prefer_inline": false,
"reduce_string_templates": true,
"forbidden_identifier": false,
"try_without_catch": true,
"unknown_types": false,
"prefix_is_current_class": false,
"unused_variables": {
"exclude": ["zdemo_excel_checker"],
"severity": "Error",
"skipNames": ["ip_title"],
"skipAbstract": false
},
"abapdoc": false,
"allowed_object_naming": true,
"allowed_object_types": false,
"ambiguous_statement": false,
"avoid_use": {
"define": true,
"describeLines": false,
"testSeams": true,
"exportToDatabase": true,
"exportToMemory": true,
"statics": false,
"defaultKey": false,
"break": true
},
"begin_end_names": true,
"chain_mainly_declarations": false,
"check_abstract": true,
"check_comments": false,
"check_ddic": true,
"check_include": true,
"check_syntax": true,
"check_text_elements": false,
"check_transformation_exists": true,
"commented_code": false,
"constructor_visibility_public": true,
"description_empty": true,
"double_space": false,
"empty_line_in_statement": false,
"empty_structure": false,
"form_tables_obsolete": true,
"fully_type_constants": false,
"global_class": true,
"identical_form_names": false,
"if_in_if": false,
"implement_methods": true,
"in_statement_indentation": false,
"indentation": {
"ignoreExceptions": true,
"alignTryCatch": false,
"selectionScreenBlockIndentation": true,
"globalClassSkipFirst": false,
"ignoreGlobalClassDefinition": false,
"ignoreGlobalInterface": false
},
"keep_single_parameter_on_one_line": false,
"keyword_case": {
"style": "upper",
"ignoreExceptions": true,
"ignoreLowerClassImplmentationStatement": true,
"ignoreGlobalClassDefinition": false,
"ignoreGlobalInterface": false,
"ignoreKeywords": [],
"ignoreGlobalClassBoundaries": false,
"ignoreFunctionModuleName": false
},
"local_class_naming": false,
"main_file_contents": true,
"message_exists": false,
"msag_consistency": true,
"newline_between_methods": false,
"no_public_attributes": false,
"object_naming": {
"clas": "^ZC(L|X)\\_EXCEL",
"intf": "^ZIF\\_EXCEL",
"tabl": "^ZEXCEL",
"ttyp": "^ZEXCEL",
"dtel": "^ZEXCEL"
},
"prefer_returning_to_exporting": false,
"preferred_compare_operator": false,
"release_idoc": false,
"remove_descriptions": false,
"rfc_error_handling": true,
"selection_screen_naming": false,
"short_case": false,
"sicf_consistency": true,
"space_before_dot": false,
"sql_escape_host_variables": false,
"superclass_final": false,
"tabl_enhancement_category": true,
"type_form_parameters": true,
"types_naming": false,
"unreachable_code": true,
"use_new": false,
"when_others_last": true,
"xml_consistency": true,
"7bit_ascii": false,
"contains_tab": true,
"functional_writing": false,
"line_length": false,
"max_one_statement": false,
"parser_error": true,
"space_before_colon": false,
"colon_missing_space": false,
"exit_or_check": {
"allowCheck": true,
"allowExit": false
},
"line_only_punc": false,
"obsolete_statement": {
"refresh": true,
"compute": true,
"add": false,
"subtract": false,
"multiply": true,
"divide": true,
"move": true,
"requested": true,
"occurs": true,
"setExtended": true,
"withHeaderLine": true,
"fieldSymbolStructure": true,
"typePools": true,
"load": true,
"parameter": true,
"ranges": true,
"communication": true,
"pack": true,
"selectWithoutInto": true,
"freeMemory": true,
"exitFromSQL": true,
"sortByFS": true,
"callTransformation": true,
"regex": true,
"occurences": true,
"clientSpecified": true,
"formDefinition": true,
"formImplementation": true
},
"start_at_tab": false,
"whitespace_end": true,
"exporting": false,
"empty_statement": false,
"sequential_blank": true,
"definitions_top": false,
"nesting": false,
"cloud_types": true,
"method_length": false,
"mix_returning": true,
"method_parameter_names": false,
"inline_data_old_versions": true,
"local_variable_names": false,
"class_attribute_names": false
}
}