-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from larshp/patch-1
Update abaplint.json, set folder
- Loading branch information
Showing
1 changed file
with
28 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,291 +1,30 @@ | ||
{ | ||
"global": { | ||
"files": "/src/**/*.*", | ||
"skipGeneratedGatewayClasses": true, | ||
"skipGeneratedPersistentClasses": true, | ||
"skipGeneratedFunctionGroups": true | ||
}, | ||
"syntax": { | ||
"version": "v753", | ||
"errorNamespace": "", | ||
"globalConstants": [], | ||
"globalMacros": [] | ||
}, | ||
"dependencies": [ | ||
{ | ||
"url": "https://github.com/abaplint/deps", | ||
"folder": "/deps", | ||
"files": "/src/**/*.*" | ||
} | ||
], | ||
"rules": { | ||
"7bit_ascii": true, | ||
"avoid_use": { | ||
"define": true, | ||
"endselect": true, | ||
"execSQL": true, | ||
"kernelCall": true, | ||
"communication": true, | ||
"statics": true, | ||
"systemCall": true, | ||
"break": true, | ||
"defaultKey": true | ||
}, | ||
"check_syntax": true, | ||
"class_attribute_names": { | ||
"ignoreExceptions": true, | ||
"statics": "^G._.*$", | ||
"instance": "^M._.*$", | ||
"constants": "^C._.*$", | ||
"ignoreLocal": false, | ||
"ignoreInterfaces": false | ||
}, | ||
"cloud_types": true, | ||
"colon_missing_space": true, | ||
"commented_code": true, | ||
"constructor_visibility_public": true, | ||
"contains_tab": true, | ||
"definitions_top": true, | ||
"description_empty": true, | ||
"double_space": { | ||
"keywords": true, | ||
"startParen": true, | ||
"endParen": true, | ||
"afterColon": true | ||
}, | ||
"empty_line_in_statement": { | ||
"allowChained": false | ||
}, | ||
"empty_statement": true, | ||
"empty_structure": { | ||
"loop": true, | ||
"if": true, | ||
"while": true, | ||
"case": true, | ||
"select": true, | ||
"do": true, | ||
"at": true, | ||
"try": true | ||
}, | ||
"exit_or_check": true, | ||
"exporting": true, | ||
"functional_writing": { | ||
"ignoreExceptions": true | ||
}, | ||
"global_class": true, | ||
"identical_form_names": true, | ||
"if_in_if": true, | ||
"in_statement_indentation": { | ||
"ignoreExceptions": true | ||
}, | ||
"indentation": { | ||
"ignoreExceptions": true, | ||
"alignTryCatch": false, | ||
"globalClassSkipFirst": false, | ||
"ignoreGlobalClassDefinition": false, | ||
"ignoreGlobalInterface": false | ||
}, | ||
"inline_data_old_versions": true, | ||
"keyword_case": { | ||
"style": "upper", | ||
"ignoreExceptions": true, | ||
"ignoreLowerClassImplmentationStatement": true, | ||
"ignoreGlobalClassDefinition": false, | ||
"ignoreGlobalInterface": false, | ||
"ignoreFunctionModuleName": false, | ||
"ignoreGlobalClassBoundaries": true, | ||
"ignoreKeywords": [] | ||
}, | ||
"line_length": { | ||
"length": 120 | ||
}, | ||
"line_only_punc": { | ||
"ignoreExceptions": true | ||
}, | ||
"local_class_naming": { | ||
"local": "^LCL_.*$", | ||
"test": "^LTCL_.*$", | ||
"exception": "^LCX_.*$" | ||
}, | ||
"local_variable_names": { | ||
"expectedData": "^L._.*$", | ||
"expectedConstant": "^LC_.*$", | ||
"expectedFS": "^<L._.*>$" | ||
}, | ||
"max_one_statement": true, | ||
"message_exists": true, | ||
"method_length": { | ||
"statements": 100, | ||
"ignoreTestClasses": false, | ||
"errorWhenEmpty": true | ||
}, | ||
"method_parameter_names": { | ||
"ignoreExceptions": true, | ||
"importing": "^I._.*$", | ||
"returning": "^R._.*$", | ||
"changing": "^C._.*$", | ||
"exporting": "^E._.*$", | ||
"ignoreNames": [ | ||
"P_TASK" | ||
] | ||
}, | ||
"mix_returning": true, | ||
"msag_consistency": true, | ||
"nesting": { | ||
"depth": 5 | ||
}, | ||
"no_public_attributes": { | ||
"allowReadOnly": true | ||
}, | ||
"object_naming": { | ||
"clas": "^ZC(L|X)\\_", | ||
"intf": "^ZIF\\_", | ||
"prog": "^Z", | ||
"fugr": "^Z", | ||
"tabl": "^Z", | ||
"ttyp": "^Z", | ||
"dtel": "^Z", | ||
"doma": "^Z", | ||
"msag": "^Z", | ||
"tran": "^Z", | ||
"enqu": "^EZ", | ||
"auth": "^Z", | ||
"pinf": "^Z", | ||
"idoc": "^Z", | ||
"xslt": "^Z", | ||
"shlp": "^Z", | ||
"ssfo": "^Z", | ||
"ssst": "^Z" | ||
}, | ||
"obsolete_statement": { | ||
"refresh": true, | ||
"compute": true, | ||
"add": true, | ||
"subtract": true, | ||
"multiply": true, | ||
"move": true, | ||
"divide": true, | ||
"requested": true, | ||
"occurs": true, | ||
"setExtended": true, | ||
"withHeaderLine": true, | ||
"fieldSymbolStructure": true | ||
}, | ||
"parser_error": true, | ||
"preferred_compare_operator": { | ||
"badOperators": [ | ||
"EQ", | ||
"><", | ||
"NE", | ||
"GE", | ||
"GT", | ||
"LT", | ||
"LE" | ||
] | ||
}, | ||
"remove_descriptions": { | ||
"ignoreExceptions": false, | ||
"ignoreWorkflow": true | ||
}, | ||
"sequential_blank": { | ||
"lines": 4 | ||
}, | ||
"short_case": { | ||
"length": 1, | ||
"allow": [] | ||
}, | ||
"space_before_colon": true, | ||
"space_before_dot": { | ||
"ignoreGlobalDefinition": true, | ||
"ignoreExceptions": true | ||
}, | ||
"start_at_tab": true, | ||
"superclass_final": true, | ||
"tabl_enhancement_category": true, | ||
"unreachable_code": true, | ||
"use_new": true, | ||
"when_others_last": true, | ||
"whitespace_end": true, | ||
"ambiguous_statement": true, | ||
"allowed_object_types": { | ||
"allowed": [ | ||
"PROG", | ||
"CLAS", | ||
"INTF", | ||
"DEVC" | ||
] | ||
}, | ||
"begin_end_names": true, | ||
"check_transformation_exists": true, | ||
"form_tables_obsolete": true, | ||
"implement_methods": true, | ||
"local_testclass_location": true, | ||
"main_file_contents": true, | ||
"type_form_parameters": true, | ||
"rfc_error_handling": true, | ||
"release_idoc": true, | ||
"prefer_returning_to_exporting": true, | ||
"keep_single_parameter_on_one_line": { | ||
"length": 120 | ||
}, | ||
"allowed_object_naming": true, | ||
"chain_mainly_declarations": true, | ||
"fully_type_constants": true, | ||
"check_abstract": true, | ||
"check_comments": { | ||
"allowEndOfLine": true | ||
}, | ||
"selection_screen_naming": { | ||
"selectOption": "^s_.+$", | ||
"parameter": "^p_.+$", | ||
"patternKind": "required" | ||
}, | ||
"check_text_elements": true, | ||
"check_ddic": true, | ||
"newline_between_methods": { | ||
"logic": "less", | ||
"count": 3 | ||
}, | ||
"check_include": true, | ||
"xml_consistency": true, | ||
"prefix_is_current_class": { | ||
"omitMeInstanceCalls": true | ||
}, | ||
"check_no_handler_pragma": true, | ||
"line_break_multiple_parameters": true, | ||
"forbidden_identifier": { | ||
"check": [], | ||
"exclude": [] | ||
}, | ||
"forbidden_void_type": true, | ||
"prefer_inline": true, | ||
"reduce_string_templates": true, | ||
"sicf_consistency": true, | ||
"sql_escape_host_variables": true, | ||
"try_without_catch": true, | ||
"types_naming": { | ||
"pattern": "^T._.*$" | ||
}, | ||
"unknown_types": true, | ||
"unused_variables": true, | ||
"begin_single_include": true, | ||
"check_subrc": true, | ||
"cyclomatic_complexity":{ | ||
"max": 6 | ||
}, | ||
"forbidden_pseudo_and_pragma": { | ||
"ignoreGlobalClassDefinition": false, | ||
"ignoreGlobalInterface": false, | ||
"pragmas": ["##NO_TEXT"], | ||
"pseudo": ["#EC NOTEXT"] | ||
}, | ||
"identical_conditions": true, | ||
"line_break_style": true, | ||
"names_no_dash": true, | ||
"parser_missing_space": true, | ||
"prefer_is_not": true, | ||
"unused_types":true, | ||
"use_bool_expression": true, | ||
"use_line_exists": true | ||
"global": { | ||
"files": "/CODE/**/*.*" | ||
}, | ||
"dependencies": [ | ||
{ | ||
"url": "https://github.com/abaplint/deps", | ||
"folder": "/deps", | ||
"files": "/src/**/*.*" | ||
} | ||
} | ||
], | ||
"syntax": { | ||
"version": "v754", | ||
"errorNamespace": "^(Z|Y|LCL_|TY_|LIF_)" | ||
}, | ||
"rules": { | ||
"begin_end_names": true, | ||
"cds_parser_error": true, | ||
"check_ddic": true, | ||
"check_include": true, | ||
"check_syntax": true, | ||
"global_class": true, | ||
"implement_methods": true, | ||
"method_implemented_twice": true, | ||
"parser_error": true, | ||
"superclass_final": true, | ||
"unknown_types": true, | ||
"xml_consistency": true | ||
} | ||
} |