Repository navigation
Expand file tree
/
Copy path.abaplint.json
More file actions
71 lines (65 loc) · 2.12 KB
/
Copy path.abaplint.json
File metadata and controls
71 lines (65 loc) · 2.12 KB
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
{
"global": {
"files": "/abap/**/*.{abap,xml}",
"skipGeneratedFunctionGroups": true
},
"syntax": {
"version": "v758",
"errorNamespace": "^(ZCL_ABGAGT_|ZIF_ABGAGT_|Z_ABGAGT_)"
},
"rules": {
"begin_end_names": true,
"cds_parser_error": true,
"check_include": true,
"identical_form_names": true,
"global_class": true,
"implement_methods": { "exclude": [".*.testclasses.abap"] },
"method_implemented_twice": true,
"parser_error": true,
"superclass_final": false,
"xml_consistency": true,
"keyword_case": { "style": "upper" },
"sequential_blank": { "lines": 2 },
"whitespace_end": true,
"double_space": true,
"use_new": true,
"prefer_inline": { "exclude": [
"abap/zcl_abgagt_bg_scheduler.clas.testclasses.abap",
"abap/zcl_abgagt_command_import.clas.abap",
"abap/zcl_abgagt_command_where.clas.abap",
"abap/zcl_abgagt_util.clas.abap"
] },
"prefer_is_not": true,
"prefer_xsdbool": true,
"functional_writing": { "ignoreExceptions": true },
"unnecessary_return": true,
"no_aliases": { "exclude": [".*.testclasses.abap"] },
"empty_structure": true,
"unreachable_code": true,
"try_without_catch": true,
"identical_contents": true,
"db_operation_in_loop": {
"exclude": [
"abap/zcl_abgagt_command_where.clas.abap",
"abap/zcl_abgagt_conflict_detector.clas.abap",
"abap/zcl_abgagt_viewer_stru.clas.abap",
"abap/zcl_abgagt_viewer_tabl.clas.abap"
]
},
"method_length": { "statements": 150, "errorWhenEmpty": false },
"cyclomatic_complexity": { "max": 25 },
"nesting": { "max": 5 },
"local_variable_names": {
"expectedData": "^(lv|lt|ls|lo|li|lx|lr)_.+$",
"expectedConstant": "^lc_.+$",
"expectedFS": "^<(l(v|t|s|o|i)_.+|comp)>$"
},
"method_parameter_names": {
"importing": "^(iv|it|is|io|ii|ix)_.+$",
"returning": "^(rv|rs|rt|ro|ri|rr)_.+$",
"exporting": "^(ev|es|et)_.+$",
"changing": "^(cv|cs|ct)_.+$"
},
"unused_variables": { "exclude": ["abap/zcl_abgagt_command_list.clas.abap"] }
}
}