Enable google shell style guide per file

Hi,

I discovered the existence of Google Shell Style Guide by using your plugin :exploding_head:

I like the idea of following that standard on new bash scripts, but I don’t want to be submerged by warnings on my existing scripts.

So it would be great if we could toggle the Style guide support per a file basis.

I don’t know if this is that could be easily permitted by the editor. I hope so.

Keep up the good work :+1:

We could have a magic comment at the beginning of the file to enable it.

That’s a good idea! I’ve added Enable Google shell code style per file · Issue #188 · BashSupport-Pro/bashsupport-pro · GitHub to track this.
I’ll look into this, but it would only land in 5.x or later.

1 Like