|
7 | 7 | "url": "https://github.com/abaplint/deps", |
8 | 8 | "folder": "/deps", |
9 | 9 | "files": "/src/**/*.*" |
10 | | - }, |
11 | | - { |
12 | | - "url": "https://github.com/abap2UI5/abap2UI5", |
13 | | - "folder": "/abap2UI5", |
14 | | - "files": "/src/**/*.*" |
15 | | - } |
16 | | - ], |
17 | | - "syntax": { |
18 | | - "version": "v750", |
19 | | - "errorNamespace": "." |
20 | | - }, |
21 | | - "rules": { |
22 | | - "7bit_ascii": false, |
23 | | - "abapdoc": false, |
24 | | - "align_parameters": false, |
25 | | - "allowed_object_naming": true, |
26 | | - "allowed_object_types": true, |
27 | | - "ambiguous_statement": true, |
28 | | - "avoid_use": true, |
29 | | - "begin_end_names": true, |
30 | | - "begin_single_include": false, |
31 | | - "call_transaction_authority_check": true, |
32 | | - "cds_comment_style": true, |
33 | | - "cds_legacy_view": true, |
34 | | - "cds_parser_error": true, |
35 | | - "chain_mainly_declarations": true, |
36 | | - "change_if_to_case": { |
37 | | - "exclude": [], |
38 | | - "severity": "Error", |
39 | | - "skipNames": [] |
40 | | - }, |
41 | | - "check_abstract": true, |
42 | | - "check_comments": true, |
43 | | - "check_ddic": true, |
44 | | - "check_include": true, |
45 | | - "check_subrc": false, |
46 | | - "check_syntax": true, |
47 | | - "check_text_elements": true, |
48 | | - "check_transformation_exists": true, |
49 | | - "class_attribute_names": false, |
50 | | - "classic_exceptions_overlap": true, |
51 | | - "cloud_types": true, |
52 | | - "colon_missing_space": true, |
53 | | - "commented_code": false, |
54 | | - "constant_classes": { |
55 | | - "exclude": [], |
56 | | - "severity": "Error", |
57 | | - "mapping": [] |
58 | | - }, |
59 | | - "constructor_visibility_public": true, |
60 | | - "contains_tab": { |
61 | | - "exclude": [], |
62 | | - "severity": "Error", |
63 | | - "spaces": 1 |
64 | | - }, |
65 | | - "cyclic_oo": false, |
66 | | - "cyclomatic_complexity": { |
67 | | - "exclude": [], |
68 | | - "severity": "Error", |
69 | | - "max": 20 |
70 | | - }, |
71 | | - "dangerous_statement": false, |
72 | | - "db_operation_in_loop": true, |
73 | | - "definitions_top": false, |
74 | | - "description_empty": true, |
75 | | - "double_space": false, |
76 | | - "downport": true, |
77 | | - "empty_line_in_statement": false, |
78 | | - "empty_statement": true, |
79 | | - "empty_structure": { |
80 | | - "loop": true, |
81 | | - "if": true, |
82 | | - "while": true, |
83 | | - "case": true, |
84 | | - "select": true, |
85 | | - "do": true, |
86 | | - "at": true, |
87 | | - "try": true, |
88 | | - "when": false |
89 | | - }, |
90 | | - "exit_or_check": true, |
91 | | - "expand_macros": true, |
92 | | - "exporting": true, |
93 | | - "forbidden_identifier": true, |
94 | | - "forbidden_pseudo_and_pragma": { |
95 | | - "exclude": [], |
96 | | - "severity": "Error", |
97 | | - "pseudo": [], |
98 | | - "pragmas": [], |
99 | | - "ignoreGlobalClassDefinition": false, |
100 | | - "ignoreGlobalInterface": false |
101 | | - }, |
102 | | - "forbidden_void_type": true, |
103 | | - "form_tables_obsolete": true, |
104 | | - "fully_type_constants": { |
105 | | - "checkData": true |
106 | | - }, |
107 | | - "function_module_recommendations": true, |
108 | | - "functional_writing": { |
109 | | - "ignoreExceptions": true |
110 | | - }, |
111 | | - "global_class": true, |
112 | | - "identical_conditions": true, |
113 | | - "identical_contents": false, |
114 | | - "identical_descriptions": true, |
115 | | - "identical_form_names": true, |
116 | | - "if_in_if": true, |
117 | | - "implement_methods": true, |
118 | | - "in_statement_indentation": false, |
119 | | - "indentation": false, |
120 | | - "inline_data_old_versions": true, |
121 | | - "intf_referencing_clas": true, |
122 | | - "keep_single_parameter_on_one_line": false, |
123 | | - "keyword_case": false, |
124 | | - "line_break_multiple_parameters": false, |
125 | | - "line_break_style": false, |
126 | | - "line_length": false, |
127 | | - "line_only_punc": false, |
128 | | - "local_class_naming": false, |
129 | | - "local_testclass_consistency": true, |
130 | | - "local_variable_names": false, |
131 | | - "main_file_contents": true, |
132 | | - "many_parentheses": true, |
133 | | - "max_one_method_parameter_per_line": true, |
134 | | - "max_one_statement": true, |
135 | | - "message_exists": true, |
136 | | - "method_implemented_twice": true, |
137 | | - "method_length": false, |
138 | | - "method_overwrites_builtin": false, |
139 | | - "method_parameter_names": false, |
140 | | - "mix_returning": true, |
141 | | - "modify_only_own_db_tables": { |
142 | | - "reportDynamic": true, |
143 | | - "ownTables": "^[yz]" |
144 | | - }, |
145 | | - "msag_consistency": true, |
146 | | - "names_no_dash": true, |
147 | | - "nesting": { |
148 | | - "depth": 5 |
149 | | - }, |
150 | | - "newline_between_methods": true, |
151 | | - "no_aliases": true, |
152 | | - "no_chained_assignment": true, |
153 | | - "no_external_form_calls": true, |
154 | | - "no_inline_in_optional_branches": false, |
155 | | - "no_public_attributes": false, |
156 | | - "no_yoda_conditions": false, |
157 | | - "nrob_consistency": true, |
158 | | - "object_naming": { |
159 | | - "exclude": [], |
160 | | - "severity": "Error", |
161 | | - "patternKind": "required", |
162 | | - "ignoreNames": [], |
163 | | - "ignorePatterns": [], |
164 | | - "clas": "^Z2UI5_C(L|X)", |
165 | | - "intf": "^Z2UI5_IF", |
166 | | - "prog": "^Z", |
167 | | - "fugr": "^Z", |
168 | | - "tabl": "^Z", |
169 | | - "ttyp": "^Z", |
170 | | - "dtel": "^Z", |
171 | | - "doma": "^Z", |
172 | | - "msag": "^Z", |
173 | | - "tran": "^Z", |
174 | | - "enqu": "^EZ", |
175 | | - "auth": "^Z", |
176 | | - "pinf": "^Z", |
177 | | - "idoc": "^Z", |
178 | | - "xslt": "^Z", |
179 | | - "ssfo": "^Z", |
180 | | - "ssst": "^Z", |
181 | | - "shlp": "^Z" |
182 | | - }, |
183 | | - "obsolete_statement": true, |
184 | | - "omit_parameter_name": false, |
185 | | - "omit_preceding_zeros": true, |
186 | | - "omit_receiving": true, |
187 | | - "parser_702_chaining": true, |
188 | | - "parser_error": true, |
189 | | - "parser_missing_space": false, |
190 | | - "pragma_style": true, |
191 | | - "prefer_corresponding": true, |
192 | | - "prefer_inline": { |
193 | | - "severity": "Warning" |
194 | | - }, |
195 | | - "prefer_is_not": true, |
196 | | - "prefer_raise_exception_new": true, |
197 | | - "prefer_returning_to_exporting": false, |
198 | | - "prefer_xsdbool": true, |
199 | | - "preferred_compare_operator": true, |
200 | | - "prefix_is_current_class": { |
201 | | - "severity": "Warning" |
202 | | - }, |
203 | | - "reduce_string_templates": true, |
204 | | - "release_idoc": true, |
205 | | - "remove_descriptions": { |
206 | | - "exclude": [], |
207 | | - "severity": "Error", |
208 | | - "ignoreExceptions": false, |
209 | | - "ignoreWorkflow": true |
210 | | - }, |
211 | | - "rfc_error_handling": true, |
212 | | - "select_add_order_by": false, |
213 | | - "select_performance": true, |
214 | | - "selection_screen_naming": true, |
215 | | - "sequential_blank": { |
216 | | - "severity": "Warning" |
217 | | - }, |
218 | | - "short_case": false, |
219 | | - "sicf_consistency": true, |
220 | | - "slow_parameter_passing": true, |
221 | | - "space_before_colon": true, |
222 | | - "space_before_dot": true, |
223 | | - "sql_escape_host_variables": true, |
224 | | - "start_at_tab": false, |
225 | | - "static_call_via_instance": { |
226 | | - "allowInTestclassIncludes": false |
227 | | - }, |
228 | | - "superclass_final": true, |
229 | | - "superfluous_value": true, |
230 | | - "sy_modification": false, |
231 | | - "tabl_enhancement_category": true, |
232 | | - "try_without_catch": true, |
233 | | - "type_form_parameters": true, |
234 | | - "types_naming": false, |
235 | | - "uncaught_exception": true, |
236 | | - "unknown_types": true, |
237 | | - "unnecessary_chaining": true, |
238 | | - "unnecessary_pragma": true, |
239 | | - "unnecessary_return": true, |
240 | | - "unreachable_code": true, |
241 | | - "unsecure_fae": true, |
242 | | - "unused_ddic": true, |
243 | | - "unused_methods": true, |
244 | | - "unused_types": true, |
245 | | - "unused_variables": { |
246 | | - "severity": "Error", |
247 | | - "skipNames": ["lv_dummy", "i_mv_editor"] |
248 | | - }, |
249 | | - "use_bool_expression": true, |
250 | | - "use_class_based_exceptions": true, |
251 | | - "use_line_exists": true, |
252 | | - "use_new": true, |
253 | | - "when_others_last": true, |
254 | | - "whitespace_end": true, |
255 | | - "xml_consistency": true |
| 10 | + }, |
| 11 | + { |
| 12 | + "url": "https://github.com/abap2UI5/abap2UI5", |
| 13 | + "folder": "/abap2UI5", |
| 14 | + "files": "/src/**/*.*" |
256 | 15 | } |
| 16 | + ], |
| 17 | + "syntax": { |
| 18 | + "version": "v750", |
| 19 | + "errorNamespace": "." |
| 20 | + }, |
| 21 | + "rules": { |
| 22 | + "downport": true, |
| 23 | + "begin_end_names": true, |
| 24 | + "check_ddic": true, |
| 25 | + "check_include": true, |
| 26 | + "check_syntax": true, |
| 27 | + "global_class": true, |
| 28 | + "definitions_top": false, |
| 29 | + "implement_methods": true, |
| 30 | + "method_implemented_twice": true, |
| 31 | + "parser_error": true, |
| 32 | + "superclass_final": true, |
| 33 | + "unknown_types": true, |
| 34 | + "xml_consistency": true |
257 | 35 | } |
| 36 | +} |
0 commit comments