-
Notifications
You must be signed in to change notification settings - Fork 2
/
abaplint.json
171 lines (171 loc) · 4.77 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
{
"global": {
"files": "/src/**/*.*",
"skipGeneratedGatewayClasses": true,
"skipGeneratedPersistentClasses": true,
"skipGeneratedFunctionGroups": true
},
"syntax": {
"version": "v753",
"errorNamespace": "",
"globalConstants": [],
"globalMacros": []
},
"dependencies": [
{
"url": "https://github.com/abaplint/deps",
"folder": "/deps",
"files": "/src/**/*.*"
}
],
"rules": {
"avoid_use": {
"define": true,
"endselect": true,
"execSQL": true,
"kernelCall": true,
"communication": true,
"statics": true,
"systemCall": true,
"break": true,
"defaultKey": true
},
"commented_code": true,
"constructor_visibility_public": true,
"description_empty": true,
"empty_statement": true,
"empty_structure": {
"loop": true,
"if": true,
"while": true,
"case": true,
"select": true,
"do": true,
"at": true,
"try": true
},
"exporting": true,
"functional_writing": {
"ignoreExceptions": true
},
"global_class": true,
"identical_form_names": true,
"if_in_if": true,
"inline_data_old_versions": true,
"line_length": {
"length": 120
},
"max_one_statement": true,
"message_exists": true,
"method_length": {
"statements": 30,
"ignoreTestClasses": false,
"errorWhenEmpty": true
},
"mix_returning": true,
"msag_consistency": true,
"nesting": {
"depth": 5
},
"obsolete_statement": {
"refresh": true,
"compute": true,
"add": true,
"subtract": true,
"multiply": true,
"move": true,
"divide": true,
"requested": true,
"occurs": true,
"setExtended": true,
"withHeaderLine": true,
"fieldSymbolStructure": true
},
"parser_error": true,
"preferred_compare_operator": {
"badOperators": [
"EQ",
"NE",
"GE",
"GT",
"LT",
"LE"
]
},
"short_case": {
"length": 1,
"allow": []
},
"superclass_final": true,
"unreachable_code": true,
"use_new": true,
"when_others_last": true,
"ambiguous_statement": true,
"begin_end_names": true,
"check_transformation_exists": true,
"form_tables_obsolete": true,
"tabl_enhancement_category": true,
"implement_methods": true,
"local_testclass_location": true,
"main_file_contents": true,
"rfc_error_handling": true,
"indentation": {
"alignTryCatch": false,
"ignoreExceptions": false,
"globalClassSkipFirst": false,
"ignoreGlobalClassDefinition": false,
"ignoreGlobalInterface": false
},
"sequential_blank": {
"lines": 3
},
"empty_line_in_statement": {
"allowChained": true
},
"check_abstract": true,
"no_public_attributes": {
"allowReadOnly": true
},
"abapdoc": true,
"prefer_returning_to_exporting": true,
"keep_single_parameter_on_one_line": {
"length": 120
},
"allowed_object_naming": true,
"fully_type_constants": true,
"check_comments": {
"allowEndOfLine": true
},
"check_text_elements": true,
"newline_between_methods": {
"logic": "less",
"count": 3
},
"check_include": true,
"xml_consistency": true,
"prefix_is_current_class": {
"omitMeInstanceCalls": true
},
"check_no_handler_pragma": true,
"line_break_multiple_parameters": true,
"prefer_inline":false,
"reduce_string_templates": true,
"sicf_consistency": true,
"sql_escape_host_variables": true,
"try_without_catch": true,
"names_no_dash": true,
"unknown_types": false,
"unused_variables": true,
"unused_types": true,
"use_bool_expression": true,
"use_line_exists": true,
"check_subrc": true,
"cyclomatic_complexity": {
"max": 6
},
"parser_missing_space": true,
"identical_conditions": true,
"prefer_is_not": true,
"remove_descriptions": false
}
}