mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 11:06:15 +08:00
update linter config, plus remove identical N01 condition (#696)
* update linter config, plus remove identical N01 condition * add deps
This commit is contained in:
parent
5eae938b01
commit
c36800ee49
|
@ -5,7 +5,13 @@
|
||||||
"skipGeneratedFunctionGroups": true,
|
"skipGeneratedFunctionGroups": true,
|
||||||
"skipGeneratedPersistentClasses": true
|
"skipGeneratedPersistentClasses": true
|
||||||
},
|
},
|
||||||
"dependencies": [],
|
"dependencies": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/abaplint/deps",
|
||||||
|
"folder": "/deps",
|
||||||
|
"files": "/src/**/*.*"
|
||||||
|
}
|
||||||
|
],
|
||||||
"syntax": {
|
"syntax": {
|
||||||
"version": "v702",
|
"version": "v702",
|
||||||
"errorNamespace": "^(Z|Y)",
|
"errorNamespace": "^(Z|Y)",
|
||||||
|
@ -13,6 +19,16 @@
|
||||||
"globalMacros": []
|
"globalMacros": []
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"begin_single_include": true,
|
||||||
|
"check_subrc": false,
|
||||||
|
"cyclomatic_complexity": false,
|
||||||
|
"forbidden_pseudo_and_pragma": false,
|
||||||
|
"identical_conditions": false,
|
||||||
|
"line_break_style": false,
|
||||||
|
"names_no_dash": true,
|
||||||
|
"parser_missing_space": true,
|
||||||
|
"unused_types": false,
|
||||||
|
"use_line_exists": false,
|
||||||
"downport": false,
|
"downport": false,
|
||||||
"forbidden_void_type": false,
|
"forbidden_void_type": false,
|
||||||
"line_break_multiple_parameters": false,
|
"line_break_multiple_parameters": false,
|
||||||
|
@ -54,7 +70,6 @@
|
||||||
"double_space": false,
|
"double_space": false,
|
||||||
"empty_line_in_statement": false,
|
"empty_line_in_statement": false,
|
||||||
"empty_structure": false,
|
"empty_structure": false,
|
||||||
"form_no_dash": true,
|
|
||||||
"form_tables_obsolete": true,
|
"form_tables_obsolete": true,
|
||||||
"fully_type_constants": false,
|
"fully_type_constants": false,
|
||||||
"global_class": true,
|
"global_class": true,
|
||||||
|
@ -107,7 +122,6 @@
|
||||||
"sql_escape_host_variables": false,
|
"sql_escape_host_variables": false,
|
||||||
"superclass_final": false,
|
"superclass_final": false,
|
||||||
"tabl_enhancement_category": false,
|
"tabl_enhancement_category": false,
|
||||||
"type_begin_single_include": true,
|
|
||||||
"type_form_parameters": true,
|
"type_form_parameters": true,
|
||||||
"types_naming": false,
|
"types_naming": false,
|
||||||
"unreachable_code": true,
|
"unreachable_code": true,
|
||||||
|
|
|
@ -1849,7 +1849,7 @@ CLASS zcl_excel_worksheet IMPLEMENTATION.
|
||||||
LOOP AT lt_sema INTO semaitem.
|
LOOP AT lt_sema INTO semaitem.
|
||||||
IF semaitem-col_typ = 'DAT' OR semaitem-col_typ = 'MON' OR
|
IF semaitem-col_typ = 'DAT' OR semaitem-col_typ = 'MON' OR
|
||||||
semaitem-col_typ = 'N00' OR semaitem-col_typ = 'N01' OR
|
semaitem-col_typ = 'N00' OR semaitem-col_typ = 'N01' OR
|
||||||
semaitem-col_typ = 'N01' OR semaitem-col_typ = 'N02' OR
|
semaitem-col_typ = 'N02' OR
|
||||||
semaitem-col_typ = 'N03' OR semaitem-col_typ = 'PCT' OR
|
semaitem-col_typ = 'N03' OR semaitem-col_typ = 'PCT' OR
|
||||||
semaitem-col_typ = 'STR' OR semaitem-col_typ = 'NUM'.
|
semaitem-col_typ = 'STR' OR semaitem-col_typ = 'NUM'.
|
||||||
CLEAR str.
|
CLEAR str.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user