mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
Minor lint updates (#2766)
* remove some double space * update abaplint to latest * fixes
This commit is contained in:
parent
df0aca8272
commit
c84b209944
|
@ -63,23 +63,32 @@
|
||||||
"exclude": []
|
"exclude": []
|
||||||
},
|
},
|
||||||
"double_space": {
|
"double_space": {
|
||||||
"enabled": true,
|
"enabled": false,
|
||||||
"exclude": []
|
"exclude": [],
|
||||||
|
"keywords": true,
|
||||||
|
"startParen": true,
|
||||||
|
"endParen": true
|
||||||
},
|
},
|
||||||
"empty_line_in_statement": {
|
"empty_line_in_statement": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"exclude": [],
|
"exclude": [],
|
||||||
"allowChained": true
|
"allowChained": true
|
||||||
},
|
},
|
||||||
"empty_loop": {
|
|
||||||
"enabled": true,
|
|
||||||
"exclude": [],
|
|
||||||
"length": 120
|
|
||||||
},
|
|
||||||
"empty_statement": {
|
"empty_statement": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"exclude": []
|
"exclude": []
|
||||||
},
|
},
|
||||||
|
"empty_structure": {
|
||||||
|
"enabled": true,
|
||||||
|
"exclude": [],
|
||||||
|
"loop": true,
|
||||||
|
"if": false,
|
||||||
|
"while": true,
|
||||||
|
"case": true,
|
||||||
|
"select": true,
|
||||||
|
"do": true,
|
||||||
|
"at": true
|
||||||
|
},
|
||||||
"exit_or_check": {
|
"exit_or_check": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"exclude": []
|
"exclude": []
|
||||||
|
@ -105,6 +114,11 @@
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"exclude": []
|
"exclude": []
|
||||||
},
|
},
|
||||||
|
"in_statement_indentation": {
|
||||||
|
"enabled": false,
|
||||||
|
"exclude": [],
|
||||||
|
"ignoreExceptions": true
|
||||||
|
},
|
||||||
"indentation": {
|
"indentation": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"exclude": [],
|
"exclude": [],
|
||||||
|
@ -258,6 +272,12 @@
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"exclude": []
|
"exclude": []
|
||||||
},
|
},
|
||||||
|
"space_before_dot": {
|
||||||
|
"enabled": true,
|
||||||
|
"exclude": [],
|
||||||
|
"ignoreGlobalDefinition": true,
|
||||||
|
"ignoreExceptions": true
|
||||||
|
},
|
||||||
"start_at_tab": {
|
"start_at_tab": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"exclude": []
|
"exclude": []
|
||||||
|
@ -274,6 +294,10 @@
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"exclude": []
|
"exclude": []
|
||||||
},
|
},
|
||||||
|
"use_new": {
|
||||||
|
"enabled": true,
|
||||||
|
"exclude": []
|
||||||
|
},
|
||||||
"when_others_last": {
|
"when_others_last": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"exclude": []
|
"exclude": []
|
||||||
|
|
|
@ -56,7 +56,7 @@ CLASS ltcl_abapgit_gui_asset_manager IMPLEMENTATION.
|
||||||
iv_assert_subtype = 'css' )
|
iv_assert_subtype = 'css' )
|
||||||
exp = 'ABC' ).
|
exp = 'ABC' ).
|
||||||
|
|
||||||
TRY .
|
TRY.
|
||||||
lo_assetman->zif_abapgit_gui_asset_manager~get_text_asset(
|
lo_assetman->zif_abapgit_gui_asset_manager~get_text_asset(
|
||||||
iv_url = 'css/common.css'
|
iv_url = 'css/common.css'
|
||||||
iv_assert_subtype = 'xyz' ).
|
iv_assert_subtype = 'xyz' ).
|
||||||
|
@ -70,7 +70,7 @@ CLASS ltcl_abapgit_gui_asset_manager IMPLEMENTATION.
|
||||||
iv_type = 'nottext/bin'
|
iv_type = 'nottext/bin'
|
||||||
iv_inline = 'XYZ' ).
|
iv_inline = 'XYZ' ).
|
||||||
|
|
||||||
TRY .
|
TRY.
|
||||||
lo_assetman->zif_abapgit_gui_asset_manager~get_text_asset( 'css/common.xyz' ).
|
lo_assetman->zif_abapgit_gui_asset_manager~get_text_asset( 'css/common.xyz' ).
|
||||||
cl_abap_unit_assert=>fail( ).
|
cl_abap_unit_assert=>fail( ).
|
||||||
CATCH zcx_abapgit_exception.
|
CATCH zcx_abapgit_exception.
|
||||||
|
|
|
@ -160,7 +160,7 @@ CLASS ltcl_html_processor_test IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD process_fails.
|
METHOD process_fails.
|
||||||
|
|
||||||
TRY .
|
TRY.
|
||||||
" BTW this is valid HTML, maybe refactor the code ...
|
" BTW this is valid HTML, maybe refactor the code ...
|
||||||
mo_cut->zif_abapgit_gui_html_processor~process(
|
mo_cut->zif_abapgit_gui_html_processor~process(
|
||||||
iv_html = '<html><body></body></html>'
|
iv_html = '<html><body></body></html>'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user