Bash-it / bash-it

A community Bash framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it a good idea to propose any preferred code style to this project?

EmilyGraceSeville7cf opened this issue · comments

I think that code must be readable and easily editable by developers. ;) I am asking because some developers rejects enforcing code styles.

For instance we could describe how better format code, what options (short, old, long) prefer, how make code compatible with previous Bash versions, and any other things

Sorry, I found code style guide. ;)

@EmilySeville7cfg, We use shfmt to enforce code style. I've been working to actually apply it to the files here, but it's slow going. For the settings we use, look in $BASH_IT/.EditorConfig.

Aside: We alsö use shellcheck for static analysis, which is enormously helpful. Finally, we use BATS for unit and integration testing.