Note indentation style.
This commit is contained in:
parent
e16e072659
commit
0822f37372
@ -7,6 +7,10 @@ This document attempts to explain the basic styles and patterns that are used in
|
|||||||
|
|
||||||
This is particularly directed at people new to the bash completion codebase, who are in the process of getting their code reviewed. Before getting a review, please read over this document and make sure your code conforms to the recommendations here.
|
This is particularly directed at people new to the bash completion codebase, who are in the process of getting their code reviewed. Before getting a review, please read over this document and make sure your code conforms to the recommendations here.
|
||||||
|
|
||||||
|
Indentation
|
||||||
|
-----------
|
||||||
|
Indent step should be 4 spaces, no tabs.
|
||||||
|
|
||||||
/////////////////////////////////////////
|
/////////////////////////////////////////
|
||||||
case/esac vs if
|
case/esac vs if
|
||||||
---------------
|
---------------
|
||||||
@ -18,9 +22,6 @@ in case statements: -@(a|b)) vs -a|-b)
|
|||||||
testing with [[ ]] vs [ ]
|
testing with [[ ]] vs [ ]
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
indentation
|
|
||||||
-----------
|
|
||||||
|
|
||||||
line wrapping
|
line wrapping
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user