Skip to content
Permalink
Browse files

update to latest abaplint config, plus fixes (#675)

* update to latest abaplint config

* fixes
  • Loading branch information...
larshp committed Mar 6, 2019
1 parent 5692630 commit 630dbdc591509ec0e613be72be1ce7e03c4eef18
@@ -10,6 +10,14 @@
"enabled": true,
"exclude": []
},
"avoid_use": {
"enabled": true,
"exclude": [],
"define": false,
"endselect": true,
"execSQL": true,
"kernelCall": true
},
"breakpoint": {
"enabled": true,
"exclude": []
@@ -49,6 +57,20 @@
"enabled": true,
"exclude": []
},
"double_space": {
"enabled": true,
"exclude": []
},
"empty_line_in_statement": {
"enabled": true,
"exclude": [],
"allowChained": false
},
"empty_loop": {
"enabled": true,
"exclude": [],
"length": 120
},
"empty_statement": {
"enabled": true,
"exclude": []
@@ -74,10 +96,18 @@
"enabled": true,
"exclude": []
},
"if_in_if": {
"enabled": true,
"exclude": []
},
"indentation": {
"enabled": true,
"exclude": [],
"ignoreExceptions": true
"ignoreExceptions": true,
"alignTryCatch": false,
"globalClassSkipFirst": false,
"ignoreGlobalClassDefinition": false,
"ignoreGlobalInterface": false
},
"inline_data_old_versions": {
"enabled": true,
@@ -87,7 +117,9 @@
"enabled": true,
"exclude": [],
"ignoreExceptions": true,
"ignoreLowerClassImplmentationStatement": true
"ignoreLowerClassImplmentationStatement": true,
"ignoreGlobalClassDefinition": false,
"ignoreGlobalInterface": false
},
"line_length": {
"enabled": true,
@@ -116,11 +148,7 @@
"enabled": true,
"exclude": []
},
"message": {
"enabled": true,
"exclude": []
},
"message_text_empty": {
"message_exists": {
"enabled": true,
"exclude": []
},
@@ -145,11 +173,36 @@
"enabled": true,
"exclude": []
},
"msag_consistency": {
"enabled": true,
"exclude": []
},
"nesting": {
"enabled": true,
"exclude": [],
"depth": 6
},
"no_public_attributes": {
"enabled": false,
"exclude": []
},
"object_naming": {
"enabled": true,
"exclude": [],
"clas": "^ZC(L|X)\\_",
"intf": "^ZIF\\_",
"prog": "^Z",
"fugr": "^Z",
"tabl": "^Z",
"ttyp": "^Z",
"dtel": "^Z",
"doma": "^Z",
"msag": "^Z",
"tran": "^Z",
"enqu": "^Z",
"auth": "^Z",
"pinf": "^Z"
},
"obsolete_statement": {
"enabled": true,
"exclude": [],
@@ -166,11 +219,22 @@
"enabled": true,
"exclude": []
},
"remove_descriptions": {
"enabled": true,
"exclude": [],
"ignoreExceptions": true
},
"sequential_blank": {
"enabled": true,
"exclude": [],
"lines": 4
},
"short_case": {
"enabled": false,
"exclude": [],
"length": 1,
"allow": ["gv_ok_code", "column"]
},
"space_before_colon": {
"enabled": true,
"exclude": []
@@ -183,6 +247,18 @@
"enabled": false,
"exclude": []
},
"tabl_enhancement_category": {
"enabled": true,
"exclude": []
},
"unreachable_code": {
"enabled": true,
"exclude": []
},
"when_others_last": {
"enabled": true,
"exclude": []
},
"whitespace_end": {
"enabled": true,
"exclude": []
@@ -28,20 +28,6 @@
<TDLINE>MIT License</TDLINE>
</TLINE>
</LINES>
<DESCRIPTIONS>
<SEOCOMPOTX>
<CLSNAME>ZCL_AOC_CHECK_66</CLSNAME>
<CMPNAME>MV_EXISTS</CMPNAME>
<LANGU>E</LANGU>
<DESCRIPT>Boolean Variable (X=True, Space=False)</DESCRIPT>
</SEOCOMPOTX>
<SEOCOMPOTX>
<CLSNAME>ZCL_AOC_CHECK_66</CLSNAME>
<CMPNAME>MV_SIMPLIFICATION</CMPNAME>
<LANGU>E</LANGU>
<DESCRIPT>Boolean Variable (X=True, Space=False)</DESCRIPT>
</SEOCOMPOTX>
</DESCRIPTIONS>
</asx:values>
</asx:abap>
</abapGit>
@@ -28,20 +28,6 @@
<TDLINE>MIT License</TDLINE>
</TLINE>
</LINES>
<DESCRIPTIONS>
<SEOCOMPOTX>
<CLSNAME>ZCL_AOC_CHECK_69</CLSNAME>
<CMPNAME>MO_COMPILER</CMPNAME>
<LANGU>E</LANGU>
<DESCRIPT>Cross Reference of an ABAP Program</DESCRIPT>
</SEOCOMPOTX>
<SEOCOMPOTX>
<CLSNAME>ZCL_AOC_CHECK_69</CLSNAME>
<CMPNAME>MS_NAMING</CMPNAME>
<LANGU>E</LANGU>
<DESCRIPT>Naming</DESCRIPT>
</SEOCOMPOTX>
</DESCRIPTIONS>
</asx:values>
</asx:abap>
</abapGit>
@@ -8,15 +8,15 @@ CLASS zcl_aoc_check_70 DEFINITION
METHODS constructor .

METHODS check
REDEFINITION .
REDEFINITION .
METHODS get_attributes
REDEFINITION .
REDEFINITION .
METHODS get_message_text
REDEFINITION .
REDEFINITION .
METHODS if_ci_test~query_attributes
REDEFINITION .
REDEFINITION .
METHODS put_attributes
REDEFINITION .
REDEFINITION .
PROTECTED SECTION.

DATA mt_pattern_info TYPE sci_t_regular_expressions .
@@ -54,32 +54,6 @@
<TDLINE>MIT License</TDLINE>
</TLINE>
</LINES>
<DESCRIPTIONS>
<SEOCOMPOTX>
<CLSNAME>ZCL_AOC_CHECK_70</CLSNAME>
<CMPNAME>MT_PATTERN_ERROR</CMPNAME>
<LANGU>E</LANGU>
<DESCRIPT>Table for error patterns</DESCRIPT>
</SEOCOMPOTX>
<SEOCOMPOTX>
<CLSNAME>ZCL_AOC_CHECK_70</CLSNAME>
<CMPNAME>MT_PATTERN_INFO</CMPNAME>
<LANGU>E</LANGU>
<DESCRIPT>Table for info patterns</DESCRIPT>
</SEOCOMPOTX>
<SEOCOMPOTX>
<CLSNAME>ZCL_AOC_CHECK_70</CLSNAME>
<CMPNAME>MT_PATTERN_WARNING</CMPNAME>
<LANGU>E</LANGU>
<DESCRIPT>Table for warning patterns</DESCRIPT>
</SEOCOMPOTX>
<SEOCOMPOTX>
<CLSNAME>ZCL_AOC_CHECK_70</CLSNAME>
<CMPNAME>MV_MULTILINE</CMPNAME>
<LANGU>E</LANGU>
<DESCRIPT>accept multiline comments</DESCRIPT>
</SEOCOMPOTX>
</DESCRIPTIONS>
</asx:values>
</asx:abap>
</abapGit>
@@ -3,7 +3,6 @@ CLASS zcl_aoc_super DEFINITION
INHERITING FROM cl_ci_test_scan
ABSTRACT
CREATE PUBLIC

GLOBAL FRIENDS zcl_aoc_unit_test .

PUBLIC SECTION.
@@ -32,20 +32,6 @@
<LENGTH>28</LENGTH>
</item>
</TPOOL>
<DESCRIPTIONS>
<SEOCOMPOTX>
<CLSNAME>ZCL_AOC_EMBEDDED_PACKAGES</CLSNAME>
<CMPNAME>MT_PACKAGES</CMPNAME>
<LANGU>E</LANGU>
<DESCRIPT>Code Inspector: Selection Options for the Package</DESCRIPT>
</SEOCOMPOTX>
<SEOCOMPOTX>
<CLSNAME>ZCL_AOC_EMBEDDED_PACKAGES</CLSNAME>
<CMPNAME>MV_LOCAL</CMPNAME>
<LANGU>E</LANGU>
<DESCRIPT>General Flag</DESCRIPT>
</SEOCOMPOTX>
</DESCRIPTIONS>
</asx:values>
</asx:abap>
</abapGit>

0 comments on commit 630dbdc

Please sign in to comment.
You can’t perform that action at this time.