lint:beautysh pre-commit hook#3263
Conversation
Let's not bother with those for now, they have a very low priority. |
|
Oh also just found https://github.com/lovesegfault/beautysh which is python (yay) but does say
which sounds scary. It's ambiguous whether it means it'll break scripts, or just break formatting. |
Got confused with one script: [[ condition1 && \
condition2 ]]where it fixed indentation in such a way that it kept complaining about its own formatting. I manually fixed this in a way that shouldn't be a problem. |
|
@casperdcl That is pretty scary. Would rather not rely on something so unreliable, as it might cause big problems for an unsuspecting contributor. |
|
well idk... it didn't break anything and also is used in https://github.com/Glavin001/atom-beautify. Seems like it'll solve a lot more problems than it may introduce. I know it hasn't broken anything so far because the diff between |
|
@casperdcl To be honest, still quite worried about it, but I am willing to give it a try for now. If anything goes wrong - we'll just get rid of it. Thanks! |
consistent use ofprint_error()/echo/echo -e/echo >&2possibly abstract common functionality into one placediscuss & documentuse python formatter!go>=1.13requirementif reviewing online, make sure to ignore whitespace to see actual changes quicker