-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathabaplint.json
188 lines (188 loc) · 4.66 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
{
"global": {
"files": "/src/**/*.*",
"skipGeneratedGatewayClasses": true,
"skipGeneratedPersistentClasses": true,
"skipGeneratedFunctionGroups": true,
"useApackDependencies": false
},
"dependencies": [
{
"url": "https://github.com/abaplint/deps",
"folder": "/deps",
"files": "/src/**/*.*"
}
],
"syntax": {
"version": "v702",
"errorNamespace": "^(Z|Y|LCL_|TY_|LIF_)"
},
"rules": {
"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,
"chain_mainly_declarations": false,
"check_abstract": false,
"check_comments": false,
"check_ddic": true,
"check_include": true,
"check_subrc": false,
"check_syntax": true,
"check_text_elements": true,
"check_transformation_exists": true,
"class_attribute_names": false,
"cloud_types": true,
"colon_missing_space": true,
"commented_code": {
"allowIncludeInFugr": true
},
"constructor_visibility_public": true,
"contains_tab": {
"spaces": 1
},
"cyclomatic_complexity": {
"max": 20
},
"definitions_top": true,
"description_empty": true,
"double_space": false,
"downport": true,
"empty_line_in_statement": {
"allowChained": false
},
"empty_statement": true,
"empty_structure": false,
"exit_or_check": true,
"exporting": true,
"forbidden_identifier": {
"check": []
},
"forbidden_pseudo_and_pragma": {
"pseudo": [],
"pragmas": [],
"ignoreGlobalClassDefinition": false,
"ignoreGlobalInterface": false
},
"forbidden_void_type": {
"check": []
},
"form_tables_obsolete": true,
"fully_type_constants": {
"checkData": true
},
"functional_writing": {
"ignoreExceptions": true
},
"global_class": true,
"identical_conditions": true,
"identical_contents": true,
"identical_form_names": true,
"if_in_if": true,
"implement_methods": true,
"in_statement_indentation": false,
"indentation": false,
"inline_data_old_versions": true,
"keep_single_parameter_on_one_line": false,
"keyword_case": false,
"line_break_multiple_parameters": false,
"line_length": false,
"line_only_punc": false,
"local_class_naming": false,
"local_variable_names": false,
"main_file_contents": true,
"max_one_statement": true,
"message_exists": true,
"method_length": false,
"method_parameter_names": false,
"mix_returning": true,
"msag_consistency": true,
"names_no_dash": true,
"nesting": {
"depth": 5
},
"newline_between_methods": {
"count": 3,
"logic": "less"
},
"no_public_attributes": false,
"object_naming": {
"patternKind": "required",
"ignoreNames": [],
"ignorePatterns": [],
"clas": "^ZC(L|X)\\_",
"intf": "^ZIF\\_",
"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,
"parser_error": true,
"parser_missing_space": true,
"prefer_inline": true,
"prefer_is_not": true,
"prefer_returning_to_exporting": false,
"prefer_xsdbool": true,
"preferred_compare_operator": true,
"prefix_is_current_class": {
"omitMeInstanceCalls": true
},
"reduce_string_templates": true,
"release_idoc": true,
"remove_descriptions": {
"ignoreExceptions": false,
"ignoreWorkflow": true
},
"rfc_error_handling": true,
"selection_screen_naming": false,
"sequential_blank": {
"lines": 4
},
"short_case": {
"length": 1,
"allow": []
},
"sicf_consistency": true,
"space_before_colon": true,
"space_before_dot": {
"ignoreGlobalDefinition": true,
"ignoreExceptions": true
},
"sql_escape_host_variables": true,
"start_at_tab": true,
"superclass_final": true,
"tabl_enhancement_category": true,
"try_without_catch": true,
"type_form_parameters": true,
"types_naming": false,
"unknown_types": true,
"unreachable_code": true,
"unused_types": {
"skipNames": []
},
"unused_variables": false,
"use_bool_expression": false,
"use_line_exists": true,
"use_new": true,
"when_others_last": true,
"whitespace_end": true,
"xml_consistency": true
}
}