-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabaplint.json
More file actions
90 lines (83 loc) · 3.18 KB
/
abaplint.json
File metadata and controls
90 lines (83 loc) · 3.18 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"global": {
"files": "/**/*.{abap,clas.abap,prog.abap,intf.abap,func.abap,fugr.abap}",
"exclude": [],
"skipGeneratedGatewayClasses": true,
"skipGeneratedPersistentClasses": true,
"skipGeneratedFunctionGroups": true,
"useApackDependencies": false
},
"dependencies": [],
"syntax": {
"version": "v750",
"errorNamespace": "^(Z|Y|ZCLA|ZCLN|ZIF|ZFG)",
"globalConstants": [],
"globalMacros": []
},
"rules": {
"parser_error": { "exclude": [], "severity": "Error" },
"check_syntax": { "exclude": [], "severity": "Error" },
"cyclomatic_complexity": {
"exclude": [], "severity": "Warning", "max": 20
},
"method_length": {
"exclude": [], "severity": "Warning",
"statements": 100, "ignoreTestClasses": true, "errorWhenEmpty": false
},
"line_length": { "exclude": [], "severity": "Warning", "length": 200 },
"sequential_blank": { "exclude": [], "severity": "Warning", "lines": 3 },
"unused_variables": { "exclude": [], "severity": "Warning", "skipNames": [], "skipAbstract": false },
"unreachable_code": { "exclude": [], "severity": "Error" },
"uncaught_exception": { "exclude": [], "severity": "Warning" },
"try_without_catch": { "exclude": [], "severity": "Warning" },
"unnecessary_return": { "exclude": [], "severity": "Warning" },
"select_add_order_by":{ "exclude": [], "severity": "Warning" },
"prefer_inline": { "exclude": [], "severity": "Warning" },
"prefer_corresponding":{ "exclude": [], "severity": "Warning" },
"prefer_is_not": { "exclude": [], "severity": "Warning" },
"no_aliases": { "exclude": [], "severity": "Warning" },
"empty_statement": { "exclude": [], "severity": "Warning" },
"exporting": { "exclude": [], "severity": "Warning" },
"use_line_exists": { "exclude": [], "severity": "Warning" },
"when_others_last": { "exclude": [], "severity": "Error" },
"names_no_dash": { "exclude": [], "severity": "Warning" },
"if_in_loop_check": { "exclude": [], "severity": "Warning" },
"local_variable_names": {
"exclude": [],
"severity": "Warning",
"expectedData": "^(WL_|TL_|XL_|WAL_|CL_|TYL_|TTL_|STL_|RL_|PI_|PO_|PC_|PT_|LCL_)",
"expectedFS": "^<FS_[A-Z0-9_]+>$"
},
"class_attribute_names": {
"exclude": [],
"severity": "Warning",
"instance": "^(WG_|T_|X_|WA_|R_|TY_|TT_|ST_)",
"statics": "^(WG_|T_|X_|WA_|ST_|TY_|TT_)",
"constants": "^C_"
},
"object_naming": {
"exclude": [],
"severity": "Warning",
"program": "^Z",
"function_group": "^ZFG",
"class": "^(ZCLA|ZCLN|LCL_)",
"exception_class":"^(ZCX_|LCX_)",
"interface": "^(ZIF|LIF_)",
"table": "^ZT",
"tableType": "^ZTY",
"dataElement": "^ZE",
"structure": "^ZS",
"view": "^ZV",
"domainName": "^ZD",
"searchHelp": "^ZA",
"lockObject": "^E(Z|Y)",
"form": "",
"method": ""
},
"types_naming": {
"exclude": [],
"severity": "Warning",
"pattern": "^(TY_|TT_|TYL_|TTL_)"
}
}
}