|
| 1 | +{ |
| 2 | + "global": { |
| 3 | + "files": "/{src,test}/**/*.*", |
| 4 | + "skipGeneratedGatewayClasses": true, |
| 5 | + "skipGeneratedPersistentClasses": true, |
| 6 | + "skipGeneratedFunctionGroups": true, |
| 7 | + "useApackDependencies": false |
| 8 | + }, |
| 9 | + "dependencies": [ |
| 10 | + { |
| 11 | + "url": "https://github.com/open-abap/open-abap", |
| 12 | + "folder": "/deps1", |
| 13 | + "files": "/src/**/*.*" |
| 14 | + }, |
| 15 | + { |
| 16 | + "url": "https://github.com/abap-wasm/abap-wasm", |
| 17 | + "folder": "/deps2", |
| 18 | + "files": "/src/**/*.*" |
| 19 | + } |
| 20 | + ], |
| 21 | + "syntax": { |
| 22 | + "version": "v750", |
| 23 | + "errorNamespace": "" |
| 24 | + }, |
| 25 | + "rules": { |
| 26 | + "dynpro_checks": true, |
| 27 | + "easy_to_find_messages": true, |
| 28 | + "no_prefixes": false, |
| 29 | + "prefer_pragmas": true, |
| 30 | + "reduce_procedural_code": true, |
| 31 | + "smim_consistency": true, |
| 32 | + "invalid_table_index": true, |
| 33 | + "sql_value_conversion": true, |
| 34 | + "cds_legacy_view": true, |
| 35 | + "cds_comment_style": true, |
| 36 | + "change_if_to_case": false, |
| 37 | + "expand_macros": true, |
| 38 | + "fully_type_itabs": true, |
| 39 | + "select_single_full_key": true, |
| 40 | + "strict_sql": true, |
| 41 | + "unnecessary_return": false, |
| 42 | + "classic_exceptions_overlap": true, |
| 43 | + "local_testclass_consistency": true, |
| 44 | + "no_external_form_calls": true, |
| 45 | + "no_inline_in_optional_branches": false, |
| 46 | + "superfluous_value": true, |
| 47 | + "align_parameters": true, |
| 48 | + "cds_parser_error": true, |
| 49 | + "constant_classes": true, |
| 50 | + "cyclic_oo": false, |
| 51 | + "db_operation_in_loop": true, |
| 52 | + "identical_descriptions": true, |
| 53 | + "many_parentheses": true, |
| 54 | + "max_one_method_parameter_per_line": true, |
| 55 | + "modify_only_own_db_tables": true, |
| 56 | + "no_aliases": true, |
| 57 | + "no_chained_assignment": true, |
| 58 | + "no_yoda_conditions": false, |
| 59 | + "nrob_consistency": true, |
| 60 | + "omit_preceding_zeros": true, |
| 61 | + "prefer_raise_exception_new": false, |
| 62 | + "select_add_order_by": true, |
| 63 | + "select_performance": true, |
| 64 | + "slow_parameter_passing": true, |
| 65 | + "static_call_via_instance": true, |
| 66 | + "unnecessary_chaining": false, |
| 67 | + "unnecessary_pragma": true, |
| 68 | + "unsecure_fae": true, |
| 69 | + "use_class_based_exceptions": true, |
| 70 | + "pragma_style": true, |
| 71 | + "prefer_corresponding": true, |
| 72 | + "dangerous_statement": true, |
| 73 | + "intf_referencing_clas": false, |
| 74 | + "method_implemented_twice": true, |
| 75 | + "parser_702_chaining": true, |
| 76 | + "uncaught_exception": true, |
| 77 | + "7bit_ascii": true, |
| 78 | + "unused_ddic": true, |
| 79 | + "abapdoc": false, |
| 80 | + "allowed_object_naming": true, |
| 81 | + "allowed_object_types": false, |
| 82 | + "ambiguous_statement": true, |
| 83 | + "avoid_use": { |
| 84 | + "define": true, |
| 85 | + "statics": true, |
| 86 | + "testSeams": true, |
| 87 | + "defaultKey": false, |
| 88 | + "exportToDatabase": true, |
| 89 | + "exportToMemory": true, |
| 90 | + "break": true, |
| 91 | + "describeLines": true |
| 92 | + }, |
| 93 | + "begin_end_names": true, |
| 94 | + "begin_single_include": true, |
| 95 | + "call_transaction_authority_check": true, |
| 96 | + "chain_mainly_declarations": true, |
| 97 | + "check_abstract": true, |
| 98 | + "check_comments": false, |
| 99 | + "check_ddic": true, |
| 100 | + "check_include": true, |
| 101 | + "check_subrc": false, |
| 102 | + "check_syntax": true, |
| 103 | + "check_text_elements": true, |
| 104 | + "check_transformation_exists": true, |
| 105 | + "class_attribute_names": true, |
| 106 | + "cloud_types": true, |
| 107 | + "colon_missing_space": true, |
| 108 | + "commented_code": false, |
| 109 | + "constructor_visibility_public": true, |
| 110 | + "contains_tab": true, |
| 111 | + "cyclomatic_complexity": true, |
| 112 | + "definitions_top": false, |
| 113 | + "description_empty": true, |
| 114 | + "double_space": true, |
| 115 | + "downport": false, |
| 116 | + "empty_line_in_statement": true, |
| 117 | + "empty_statement": true, |
| 118 | + "empty_structure": false, |
| 119 | + "exit_or_check": true, |
| 120 | + "exporting": true, |
| 121 | + "forbidden_identifier": false, |
| 122 | + "forbidden_pseudo_and_pragma": false, |
| 123 | + "forbidden_void_type": false, |
| 124 | + "form_tables_obsolete": true, |
| 125 | + "fully_type_constants": true, |
| 126 | + "function_module_recommendations": true, |
| 127 | + "functional_writing": true, |
| 128 | + "global_class": true, |
| 129 | + "identical_conditions": true, |
| 130 | + "identical_contents": true, |
| 131 | + "identical_form_names": true, |
| 132 | + "if_in_if": true, |
| 133 | + "implement_methods": true, |
| 134 | + "in_statement_indentation": true, |
| 135 | + "indentation": true, |
| 136 | + "inline_data_old_versions": true, |
| 137 | + "keep_single_parameter_on_one_line": true, |
| 138 | + "keyword_case": true, |
| 139 | + "line_break_multiple_parameters": true, |
| 140 | + "line_break_style": false, |
| 141 | + "line_length": false, |
| 142 | + "line_only_punc": true, |
| 143 | + "local_class_naming": true, |
| 144 | + "local_variable_names": true, |
| 145 | + "main_file_contents": true, |
| 146 | + "max_one_statement": true, |
| 147 | + "message_exists": true, |
| 148 | + "method_length": false, |
| 149 | + "method_overwrites_builtin": true, |
| 150 | + "method_parameter_names": true, |
| 151 | + "mix_returning": true, |
| 152 | + "msag_consistency": true, |
| 153 | + "names_no_dash": true, |
| 154 | + "nesting": false, |
| 155 | + "newline_between_methods": true, |
| 156 | + "no_public_attributes": { |
| 157 | + "allowReadOnly": true, |
| 158 | + "ignoreTestClasses": true, |
| 159 | + "exclude": ["zcl_wasm_memory"] |
| 160 | + }, |
| 161 | + "object_naming": { |
| 162 | + "exclude": ["/test/"], |
| 163 | + "patternKind": "required", |
| 164 | + "ignoreNames": [], |
| 165 | + "ignorePatterns": [], |
| 166 | + "clas": "^ZC(L|X)\\_QUICKJS", |
| 167 | + "intf": "^ZIF\\_QUICKJS", |
| 168 | + "prog": "^ZQUICKJS", |
| 169 | + "fugr": "^ZQUICKJS", |
| 170 | + "tabl": "^ZQUICKJS", |
| 171 | + "ttyp": "^ZQUICKJS", |
| 172 | + "dtel": "^ZQUICKJS", |
| 173 | + "doma": "^ZQUICKJS", |
| 174 | + "msag": "^ZQUICKJS", |
| 175 | + "tran": "^ZQUICKJS", |
| 176 | + "enqu": "^EZQUICKJS", |
| 177 | + "auth": "^ZQUICKJS", |
| 178 | + "pinf": "^ZQUICKJS", |
| 179 | + "idoc": "^ZQUICKJS", |
| 180 | + "xslt": "^ZQUICKJS", |
| 181 | + "ssfo": "^ZQUICKJS", |
| 182 | + "ssst": "^ZQUICKJS", |
| 183 | + "shlp": "^ZQUICKJS" |
| 184 | + }, |
| 185 | + "obsolete_statement": true, |
| 186 | + "omit_parameter_name": true, |
| 187 | + "omit_receiving": true, |
| 188 | + "parser_error": true, |
| 189 | + "parser_missing_space": true, |
| 190 | + "prefer_inline": false, |
| 191 | + "prefer_is_not": true, |
| 192 | + "prefer_returning_to_exporting": true, |
| 193 | + "prefer_xsdbool": true, |
| 194 | + "preferred_compare_operator": true, |
| 195 | + "prefix_is_current_class": true, |
| 196 | + "reduce_string_templates": true, |
| 197 | + "release_idoc": true, |
| 198 | + "remove_descriptions": true, |
| 199 | + "rfc_error_handling": true, |
| 200 | + "selection_screen_naming": true, |
| 201 | + "sequential_blank": true, |
| 202 | + "short_case": true, |
| 203 | + "sicf_consistency": true, |
| 204 | + "space_before_colon": true, |
| 205 | + "space_before_dot": true, |
| 206 | + "sql_escape_host_variables": true, |
| 207 | + "start_at_tab": true, |
| 208 | + "superclass_final": true, |
| 209 | + "sy_modification": true, |
| 210 | + "tabl_enhancement_category": true, |
| 211 | + "try_without_catch": true, |
| 212 | + "type_form_parameters": true, |
| 213 | + "types_naming": true, |
| 214 | + "unknown_types": true, |
| 215 | + "unreachable_code": true, |
| 216 | + "unused_methods": false, |
| 217 | + "unused_types": true, |
| 218 | + "unused_variables": false, |
| 219 | + "use_bool_expression": true, |
| 220 | + "use_line_exists": false, |
| 221 | + "use_new": true, |
| 222 | + "when_others_last": true, |
| 223 | + "whitespace_end": true, |
| 224 | + "xml_consistency": true |
| 225 | + } |
| 226 | +} |
0 commit comments