biome
biome copied to clipboard
In need of a bash wizard
Are you good at writing bash? I could use some help refactoring Biome. A few things in particular that need updating:
- Change local variables from uppercase to lowercase (and use the
local
keyword). - I'm pretty sure the convention is to exit with a different error code for each type of error. Right now, if there's an error, the error code is 1.
- There's a lot of code like
echo hello world
- this should really beecho "hello world"
. - Anything else that I missed?
Thanks for the help!
Can I work on this?
Go for it!
https://www.shellcheck.net/
Yep, I've just recently learned about shellcheck, and most likely there's a lot of small changes that could be made to make this tool comply with typical bash conventions.
@rozuur Feel free to adjust anything you see to make it more compliant.
I was planning to use shellcheck for refactoring. Will send a pull request by EOW.
@1egoman I am new to circle ci and doesn't know how to trigger the build. Can you check if shellcheck is invoked with the current pull request?
Can i contribute ?
@Furinkazan33 Go for it!
@1egoman I need the permission to PR.
@Furinkazan33 Are you saying you need permission to create a pull request? You should be able to fork this project, perform any changes, and issue a pull request without special permission. Maybe I misunderstand what you're asking?