-
Couldn't load subscription status.
- Fork 1.3k
lint:beautysh pre-commit hook #3263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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