forked from abap-openapi/abap-openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
abaplint.json
237 lines (237 loc) · 6.65 KB
/
abaplint.json
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
{
"global": {
"files": "/{src,test_v2}/**/*.*",
"skipGeneratedGatewayClasses": true,
"skipGeneratedPersistentClasses": true,
"skipGeneratedFunctionGroups": true
},
"dependencies": [
{
"url": "https://github.com/open-abap/open-abap",
"files": "/src/**/*.*"
}
],
"syntax": {
"version": "v702",
"errorNamespace": "."
},
"rules": {
"cds_comment_style": true,
"cds_legacy_view": true,
"change_if_to_case": true,
"easy_to_find_messages": true,
"expand_macros": true,
"fully_type_itabs": true,
"select_single_full_key": true,
"smim_consistency": true,
"sql_value_conversion": true,
"strict_sql": true,
"superfluous_value": true,
"unnecessary_return": true,
"no_external_form_calls": true,
"cds_parser_error": true,
"classic_exceptions_overlap": true,
"local_testclass_consistency": true,
"no_inline_in_optional_branches": true,
"slow_parameter_passing": true,
"unnecessary_pragma": true,
"pragma_style": true,
"no_aliases": true,
"no_chained_assignment": true,
"nrob_consistency": true,
"omit_preceding_zeros": true,
"prefer_corresponding": true,
"static_call_via_instance": true,
"unnecessary_chaining": false,
"align_parameters": false,
"constant_classes": true,
"cyclic_oo": false,
"db_operation_in_loop": true,
"identical_descriptions": false,
"many_parentheses": true,
"max_one_method_parameter_per_line": true,
"modify_only_own_db_tables": true,
"no_yoda_conditions": true,
"select_add_order_by": true,
"unsecure_fae": true,
"unused_ddic": true,
"select_performance": true,
"dangerous_statement": true,
"7bit_ascii": true,
"abapdoc": false,
"allowed_object_naming": true,
"allowed_object_types": true,
"ambiguous_statement": true,
"avoid_use": true,
"begin_end_names": true,
"begin_single_include": true,
"call_transaction_authority_check": true,
"chain_mainly_declarations": true,
"check_abstract": true,
"check_comments": false,
"check_ddic": true,
"check_include": true,
"check_subrc": true,
"check_syntax": true,
"check_text_elements": true,
"check_transformation_exists": true,
"class_attribute_names": false,
"cloud_types": true,
"colon_missing_space": true,
"commented_code": false,
"constructor_visibility_public": true,
"contains_tab": true,
"cyclomatic_complexity": false,
"definitions_top": {
"exclude": ["test_v2"]
},
"description_empty": false,
"double_space": true,
"downport": false,
"empty_line_in_statement": true,
"empty_statement": true,
"empty_structure": false,
"exit_or_check": true,
"exporting": true,
"forbidden_identifier": true,
"forbidden_pseudo_and_pragma": true,
"forbidden_void_type": true,
"form_tables_obsolete": true,
"fully_type_constants": true,
"function_module_recommendations": true,
"functional_writing": true,
"global_class": true,
"identical_conditions": true,
"identical_contents": true,
"identical_form_names": true,
"if_in_if": true,
"implement_methods": true,
"in_statement_indentation": true,
"indentation": true,
"inline_data_old_versions": true,
"intf_referencing_clas": false,
"keep_single_parameter_on_one_line": true,
"keyword_case": true,
"line_break_multiple_parameters": false,
"line_break_style": false,
"line_length": false,
"line_only_punc": true,
"local_class_naming": true,
"local_variable_names": {
"exclude": ["generated/", "test_v2/"],
"patternKind": "required",
"ignoreNames": [],
"ignorePatterns": [],
"expectedData": "^L._.+$",
"expectedConstant": "^LC_.+$",
"expectedFS": "^<L._.+>$"
},
"main_file_contents": true,
"max_one_statement": true,
"message_exists": true,
"method_implemented_twice": true,
"method_length": false,
"method_overwrites_builtin": true,
"method_parameter_names": {
"exclude": ["test_v"],
"patternKind": "required",
"ignoreNames": [],
"ignorePatterns": [],
"ignoreExceptions": true,
"importing": "^I._.+$",
"returning": "^R._.+$",
"changing": "^C._.+$",
"exporting": "^E._.+$"
},
"mix_returning": true,
"msag_consistency": true,
"names_no_dash": true,
"nesting": false,
"newline_between_methods": true,
"no_public_attributes": false,
"object_naming": {
"exclude": ["test_v1/", "test_v2/"],
"patternKind": "required",
"ignoreNames": [],
"ignorePatterns": [],
"clas": "^ZC(L|X)\\_OAPI",
"intf": "^ZIF\\_OAPI",
"prog": "^Z",
"fugr": "^Z",
"tabl": "^Z",
"ttyp": "^Z",
"dtel": "^Z",
"doma": "^Z",
"msag": "^Z",
"tran": "^Z",
"enqu": "^EZ",
"auth": "^Z",
"pinf": "^Z",
"idoc": "^Z",
"xslt": "^Z",
"ssfo": "^Z",
"ssst": "^Z",
"shlp": "^Z"
},
"obsolete_statement": true,
"omit_parameter_name": true,
"omit_receiving": true,
"parser_702_chaining": true,
"parser_error": true,
"parser_missing_space": true,
"prefer_inline": true,
"prefer_is_not": true,
"prefer_raise_exception_new": true,
"prefer_returning_to_exporting": true,
"prefer_xsdbool": true,
"preferred_compare_operator": true,
"prefix_is_current_class": true,
"reduce_string_templates": true,
"release_idoc": true,
"remove_descriptions": true,
"rfc_error_handling": true,
"selection_screen_naming": true,
"sequential_blank": true,
"short_case": false,
"sicf_consistency": true,
"space_before_colon": true,
"space_before_dot": {
"ignoreExceptions": false,
"ignoreGlobalDefinition": false
},
"sql_escape_host_variables": true,
"start_at_tab": true,
"superclass_final": true,
"sy_modification": true,
"tabl_enhancement_category": true,
"try_without_catch": true,
"type_form_parameters": true,
"types_naming": {
"exclude": ["generated/", "test_v"],
"pattern": "^TY_.+$"
},
"uncaught_exception": true,
"unknown_types": true,
"unreachable_code": true,
"unused_methods": {
"exclude": ["test_v2"]
},
"unused_types": {
"exclude": ["generated/", "test_v2"],
"skipNames": []
},
"unused_variables": {
"skipAbstract": false,
"exclude": ["test_v2"]
},
"use_bool_expression": true,
"use_class_based_exceptions": true,
"use_line_exists": true,
"use_new": true,
"when_others_last": true,
"whitespace_end": {
"exclude": ["test/"]
},
"xml_consistency": true
}
}