Tormak9970 / bash-shortcuts

A Steam Deck plugin for creating custom shortcuts that can be launched from the Quick Access Menu. Uses Bash under the hood.
Other
31 stars 8 forks source link

Some, mostly automated, code cleanup #28

Closed Gadgetoid closed 1 month ago

Gadgetoid commented 8 months ago

I cloned the whole decky-plugin-database to audit the code, do with these as you see fit!

The enormous number of .ts/.tsx changes are just the result of running prettier -w src/, which I believe is what's being used upstream in Decky. If you'd rather skip these or run the tool yourself I don't mind!

Tormak9970 commented 8 months ago

personally, I do not like prettier or the formatting it enforces, I find that it hampers readability in many ways. As to the rest, Bash Shortcuts is on life support at the moment, so I'm not sure if I will merge this

Gadgetoid commented 8 months ago

personally, I do not like prettier or the formatting it enforces, I find that it hampers readability in many ways

Ha, I have no comment- as very not a React developer I haven't formed an opinion one way or the other yet. But I do understand; I have the same problem with black in Python- have to cherry pick the good (consistency) from the bad (breaking all my nicely lined up code).

I was under the impression bash-shortcuts was/is a popular plugin, so being on life support is a shame. I kinda expected to run into some instances of this, though. I wonder if a home-for-wayward-decky-plugins GitHub org would be sensible 🤔