[UPD] script maintenance prettier xml: documentation strict whitespace
This commit is contained in:
parent
f3525e72ed
commit
5c3055ce6e
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ if [[ "${STR_ARG}" = *"/data/"* ]]; then
|
|||
prettier --xml-whitespace-sensitivity "ignore" --prose-wrap always --tab-width 4 --no-bracket-spacing --print-width 999999999 --write $@
|
||||
else
|
||||
prettier --xml-whitespace-sensitivity "ignore" --prose-wrap always --tab-width 4 --no-bracket-spacing --print-width 120 --write $@
|
||||
# strict xml-whitespace-sensitivity will keep space alignement
|
||||
#prettier --xml-whitespace-sensitivity "strict" --prose-wrap always --tab-width 4 --no-bracket-spacing --print-width 120 --write $@
|
||||
fi
|
||||
retVal=$?
|
||||
if [[ $retVal -ne 0 ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue