1+ {
2+ "global" : {
3+ "files" : " /src/**/*.*" ,
4+ "skipGeneratedGatewayClasses" : true ,
5+ "skipGeneratedPersistentClasses" : true ,
6+ "skipGeneratedFunctionGroups" : true
7+ },
8+ "syntax" : {
9+ "version" : " v753" ,
10+ "errorNamespace" : " " ,
11+ "globalConstants" : [],
12+ "globalMacros" : []
13+ },
14+ "dependencies" : [
15+ {
16+ "url" : " https://github.com/abaplint/deps" ,
17+ "folder" : " /deps" ,
18+ "files" : " /src/**/*.*"
19+ }
20+ ],
21+ "rules" : {
22+ "avoid_use" : {
23+ "define" : true ,
24+ "endselect" : true ,
25+ "execSQL" : true ,
26+ "kernelCall" : true ,
27+ "communication" : true ,
28+ "statics" : true ,
29+ "systemCall" : true ,
30+ "break" : true ,
31+ "defaultKey" : true
32+ },
33+ "commented_code" : true ,
34+ "constructor_visibility_public" : true ,
35+ "description_empty" : false ,
36+ "empty_statement" : true ,
37+ "empty_structure" : {
38+ "loop" : true ,
39+ "if" : true ,
40+ "while" : true ,
41+ "case" : true ,
42+ "select" : true ,
43+ "do" : true ,
44+ "at" : true ,
45+ "try" : true
46+ },
47+ "exporting" : true ,
48+ "functional_writing" : {
49+ "ignoreExceptions" : true
50+ },
51+ "global_class" : true ,
52+ "identical_form_names" : true ,
53+ "if_in_if" : true ,
54+ "inline_data_old_versions" : true ,
55+ "line_length" : {
56+ "length" : 120
57+ },
58+ "max_one_statement" : true ,
59+ "message_exists" : true ,
60+ "method_length" : {
61+ "statements" : 25 ,
62+ "ignoreTestClasses" : false ,
63+ "errorWhenEmpty" : true
64+ },
65+ "mix_returning" : true ,
66+ "msag_consistency" : true ,
67+ "nesting" : {
68+ "depth" : 5
69+ },
70+ "obsolete_statement" : {
71+ "refresh" : true ,
72+ "compute" : true ,
73+ "add" : true ,
74+ "subtract" : true ,
75+ "multiply" : true ,
76+ "move" : true ,
77+ "divide" : true ,
78+ "requested" : true ,
79+ "occurs" : true ,
80+ "setExtended" : true ,
81+ "withHeaderLine" : true ,
82+ "fieldSymbolStructure" : true
83+ },
84+ "parser_error" : true ,
85+ "preferred_compare_operator" : {
86+ "badOperators" : [
87+ " EQ" ,
88+ " NE" ,
89+ " GE" ,
90+ " GT" ,
91+ " LT" ,
92+ " LE"
93+ ]
94+ },
95+ "short_case" : {
96+ "length" : 1 ,
97+ "allow" : []
98+ },
99+ "superclass_final" : true ,
100+ "unreachable_code" : true ,
101+ "use_new" : true ,
102+ "when_others_last" : true ,
103+ "ambiguous_statement" : true ,
104+ "begin_end_names" : true ,
105+ "check_transformation_exists" : true ,
106+ "check_syntax" : true ,
107+ "form_tables_obsolete" : true ,
108+ "tabl_enhancement_category" : true ,
109+ "implement_methods" : true ,
110+ "local_testclass_location" : true ,
111+ "main_file_contents" : true ,
112+ "rfc_error_handling" : true ,
113+ "indentation" : {
114+ "alignTryCatch" : false ,
115+ "ignoreExceptions" : false ,
116+ "globalClassSkipFirst" : false ,
117+ "ignoreGlobalClassDefinition" : false ,
118+ "ignoreGlobalInterface" : false
119+ },
120+ "sequential_blank" : {
121+ "lines" : 3
122+ },
123+ "empty_line_in_statement" : {
124+ "allowChained" : true
125+ },
126+ "check_abstract" : true ,
127+ "no_public_attributes" : {
128+ "allowReadOnly" : true
129+ },
130+ "abapdoc" : false ,
131+ "prefer_returning_to_exporting" : true ,
132+ "keep_single_parameter_on_one_line" : {
133+ "length" : 120
134+ },
135+ "allowed_object_naming" : true ,
136+ "fully_type_constants" : true ,
137+ "check_comments" : {
138+ "allowEndOfLine" : true
139+ },
140+ "check_text_elements" : true ,
141+ "newline_between_methods" : {
142+ "logic" : " less" ,
143+ "count" : 3
144+ },
145+ "check_include" : true ,
146+ "xml_consistency" : true ,
147+ "prefix_is_current_class" : {
148+ "omitMeInstanceCalls" : true
149+ },
150+ "check_no_handler_pragma" : true ,
151+ "line_break_multiple_parameters" : true ,
152+ "prefer_inline" : true ,
153+ "reduce_string_templates" : true ,
154+ "sicf_consistency" : true ,
155+ "sql_escape_host_variables" : true ,
156+ "try_without_catch" : true ,
157+ "names_no_dash" : true ,
158+ "unknown_types" : false ,
159+ "unused_variables" : true ,
160+ "unused_types" : true ,
161+ "use_bool_expression" : true ,
162+ "use_line_exists" : true ,
163+ "check_subrc" : true ,
164+ "cyclomatic_complexity" : {
165+ "max" : 6
166+ },
167+ "parser_missing_space" : true ,
168+ "identical_conditions" : true ,
169+ "prefer_is_not" : true
170+ }
171+ }
0 commit comments